summary refs log tree commit diff stats
path: root/hw/usb-hid.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-12-08 20:07:48 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:38 -0600
commit6d74ca5aa83b83fb52332f7735c61ecb7a5328c1 (patch)
tree6ea05e57ca0165275eda7e6d57cecd5fd52757b6 /hw/usb-hid.c
parentb3c3f123f785fb861d930080f083507b51f5ce79 (diff)
downloadfocaccia-qemu-6d74ca5aa83b83fb52332f7735c61ecb7a5328c1.tar.gz
focaccia-qemu-6d74ca5aa83b83fb52332f7735c61ecb7a5328c1.zip
virtio: verify features on load
migrating between hosts which have different features
might break silently, if the migration destination
does not support some features supported by source.

Prevent this from happening by comparing acked feature
bits with the mask supported by the device.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb-hid.c')
0 files changed, 0 insertions, 0 deletions