virtio: hide legacy features from modern guests
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 22 Jul 2015 10:09:25 +0000 (13:09 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Jul 2015 06:08:50 +0000 (09:08 +0300)
commit5f456073aa9ba54e421aa82dd38e4d40d0a0af85
tree7e0073a414617d32dec948c31d0321d591a113ae
parentb69b30532e0a80e25449244c01b0cbed000c99a3
virtio: hide legacy features from modern guests

NOTIFY_ON_EMPTY, ANY_LAYOUT and BAD are only valid on the legacy
interface.

Hide them from modern guests.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-pci.c
include/hw/virtio/virtio.h