hw/xen: Prefer QOM cast for XenLegacyDevice
authorBernhard Beschow <shentey@gmail.com>
Mon, 27 Jan 2025 09:41:29 +0000 (10:41 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 16 Feb 2025 13:25:08 +0000 (14:25 +0100)
commit83f0f363e4a24b40142079ab1b328ed653f7d14b
tree8ba675c67c70fd020f84c49ea4cb8fd4fbc4a003
parentc10f4c744a7cac8be38158b0793ccf8d754cecd1
hw/xen: Prefer QOM cast for XenLegacyDevice

Makes the code less sensitive regarding changes in the class hierarchy which
will be performed in the next patch.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250127094129.15941-1-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/usb/xen-usb.c
hw/xen/xen-legacy-backend.c
hw/xen/xen_pvdev.c