mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: capabilities: Retire QEMU_CAPS_VIRTIO_(BLK|NET)_EVENT_IDX
Both are assumed as always present since last commit. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
ea0f408474
commit
9616976433
@ -152,8 +152,8 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
|
||||
/* 60 */
|
||||
"sga", /* X_QEMU_CAPS_SGA */
|
||||
"virtio-blk-pci.event_idx", /* QEMU_CAPS_VIRTIO_BLK_EVENT_IDX */
|
||||
"virtio-net-pci.event_idx", /* QEMU_CAPS_VIRTIO_NET_EVENT_IDX */
|
||||
"virtio-blk-pci.event_idx", /* X_QEMU_CAPS_VIRTIO_BLK_EVENT_IDX */
|
||||
"virtio-net-pci.event_idx", /* X_QEMU_CAPS_VIRTIO_NET_EVENT_IDX */
|
||||
"cache-directsync", /* X_QEMU_CAPS_DRIVE_CACHE_DIRECTSYNC */
|
||||
"piix3-usb-uhci", /* QEMU_CAPS_PIIX3_USB_UHCI */
|
||||
|
||||
@ -1403,7 +1403,6 @@ virQEMUCapsDevicePropsVirtioBlkSCSIDefault(virJSONValue *props,
|
||||
|
||||
|
||||
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsVirtioBlk[] = {
|
||||
{ "event_idx", QEMU_CAPS_VIRTIO_BLK_EVENT_IDX, NULL },
|
||||
{ "scsi", QEMU_CAPS_VIRTIO_BLK_SCSI, virQEMUCapsDevicePropsVirtioBlkSCSIDefault },
|
||||
{ "logical_block_size", QEMU_CAPS_BLOCKIO, NULL },
|
||||
{ "num-queues", QEMU_CAPS_VIRTIO_BLK_NUM_QUEUES, NULL },
|
||||
@ -1420,7 +1419,6 @@ static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsVirtioBlk[] = {
|
||||
|
||||
static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsVirtioNet[] = {
|
||||
{ "tx", QEMU_CAPS_VIRTIO_TX_ALG, NULL },
|
||||
{ "event_idx", QEMU_CAPS_VIRTIO_NET_EVENT_IDX, NULL },
|
||||
{ "rx_queue_size", QEMU_CAPS_VIRTIO_NET_RX_QUEUE_SIZE, NULL },
|
||||
{ "tx_queue_size", QEMU_CAPS_VIRTIO_NET_TX_QUEUE_SIZE, NULL },
|
||||
{ "host_mtu", QEMU_CAPS_VIRTIO_NET_HOST_MTU, NULL },
|
||||
|
@ -131,8 +131,8 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
|
||||
/* 60 */
|
||||
X_QEMU_CAPS_SGA, /* Serial Graphics Adapter */
|
||||
QEMU_CAPS_VIRTIO_BLK_EVENT_IDX, /* virtio-blk-pci.event_idx */
|
||||
QEMU_CAPS_VIRTIO_NET_EVENT_IDX, /* virtio-net-pci.event_idx */
|
||||
X_QEMU_CAPS_VIRTIO_BLK_EVENT_IDX, /* virtio-blk-pci.event_idx */
|
||||
X_QEMU_CAPS_VIRTIO_NET_EVENT_IDX, /* virtio-net-pci.event_idx */
|
||||
X_QEMU_CAPS_DRIVE_CACHE_DIRECTSYNC, /* Is cache=directsync supported? */
|
||||
QEMU_CAPS_PIIX3_USB_UHCI, /* -device piix3-usb-uhci */
|
||||
|
||||
|
@ -6,8 +6,6 @@
|
||||
<flag name='kvm'/>
|
||||
<flag name='sdl'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='virtio-blk-pci.scsi'/>
|
||||
<flag name='scsi-disk.channel'/>
|
||||
<flag name='scsi-block'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -6,8 +6,6 @@
|
||||
<flag name='kvm'/>
|
||||
<flag name='sdl'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='virtio-blk-pci.scsi'/>
|
||||
<flag name='scsi-disk.channel'/>
|
||||
<flag name='scsi-block'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -6,8 +6,6 @@
|
||||
<flag name='kvm'/>
|
||||
<flag name='sdl'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='usb-redir'/>
|
||||
<flag name='virtio-blk-pci.scsi'/>
|
||||
<flag name='scsi-disk.channel'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -9,8 +9,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -9,8 +9,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -6,8 +6,6 @@
|
||||
<flag name='kvm'/>
|
||||
<flag name='sdl'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='usb-redir'/>
|
||||
<flag name='virtio-blk-pci.scsi'/>
|
||||
<flag name='scsi-disk.channel'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -6,8 +6,6 @@
|
||||
<flag name='kvm'/>
|
||||
<flag name='sdl'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='usb-redir'/>
|
||||
<flag name='virtio-blk-pci.scsi'/>
|
||||
<flag name='scsi-disk.channel'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -9,8 +9,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -9,8 +9,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -6,8 +6,6 @@
|
||||
<flag name='kvm'/>
|
||||
<flag name='sdl'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='usb-redir'/>
|
||||
<flag name='virtio-blk-pci.scsi'/>
|
||||
<flag name='scsi-disk.channel'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -7,8 +7,6 @@
|
||||
<flag name='sdl'/>
|
||||
<flag name='hda-duplex'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -6,8 +6,6 @@
|
||||
<flag name='kvm'/>
|
||||
<flag name='sdl'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='usb-redir'/>
|
||||
<flag name='virtio-blk-pci.scsi'/>
|
||||
<flag name='scsi-disk.channel'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
@ -11,8 +11,6 @@
|
||||
<flag name='ccid-emulated'/>
|
||||
<flag name='ccid-passthru'/>
|
||||
<flag name='virtio-tx-alg'/>
|
||||
<flag name='virtio-blk-pci.event_idx'/>
|
||||
<flag name='virtio-net-pci.event_idx'/>
|
||||
<flag name='piix3-usb-uhci'/>
|
||||
<flag name='piix4-usb-uhci'/>
|
||||
<flag name='usb-ehci'/>
|
||||
|
Loading…
Reference in New Issue
Block a user