mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
virtio-serial: cleanup: use QOM casts.
As the virtio-serial-pci and virtio-serial-s390 are switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Amit Shah <amit.shah@redhat.com> Message-id: 1365512016-21944-7-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
34b95b2c64
commit
76017fd2ea
2 changed files with 27 additions and 25 deletions
|
@ -192,7 +192,7 @@ typedef struct VirtIOSerialPostLoad {
|
|||
} VirtIOSerialPostLoad;
|
||||
|
||||
struct VirtIOSerial {
|
||||
VirtIODevice vdev;
|
||||
VirtIODevice parent_obj;
|
||||
|
||||
VirtQueue *c_ivq, *c_ovq;
|
||||
/* Arrays of ivqs and ovqs: one per port */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue