virtio: make features 64bit wide
commit019a3edbb25f1571e876f8af1ce4c55412939e5d
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 1 Jun 2015 08:45:40 +0000 (1 10:45 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jun 2015 12:18:55 +0000 (1 14:18 +0200)
tree2af699ef896ecdeb322a8775641299acccdd255a
parentfdba6d967e00864edd21275a6ee1d23a383510e8
virtio: make features 64bit wide

Make features 64bit wide everywhere.

On migration a full 64bit guest_features field is sent if one of the
high bits is set, in addition to the lower 32bit guest_features field
which must stay for compatibility reasons.  That way we send the lower
32 feature bits twice, but the code is simpler because we don't have
to split and compose the 64bit features into two 32bit fields.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/9pfs/virtio-9p-device.c
hw/block/virtio-blk.c
hw/char/virtio-serial-bus.c
hw/input/virtio-input.c
hw/net/virtio-net.c
hw/scsi/vhost-scsi.c
hw/scsi/virtio-scsi.c
hw/virtio/virtio-balloon.c
hw/virtio/virtio-rng.c
hw/virtio/virtio.c
include/hw/virtio/virtio.h