virtio: add support for 64 bit features.
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Oct 2014 14:39:43 +0000 (16:39 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:24 +0000 (12:05 +0200)
commitd025477368792b272802146a86e41f81a54d8a19
tree7e296d48d57796d6b797f4da6dac74d1644092fe
parent0ffaeadfc451a11b5da35578b2f9b977f9f46489
virtio: add support for 64 bit features.

Change u32 to u64, and use BIT_ULL and 1ULL everywhere.

Note: transports are unchanged, and only set low 32 bit.
This guarantees that no transport sets e.g. VERSION_1
by mistake without proper support.

Based on patch by Rusty.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
drivers/lguest/lguest_device.c
drivers/misc/mic/card/mic_virtio.c
drivers/remoteproc/remoteproc_virtio.c
drivers/s390/kvm/kvm_virtio.c
drivers/s390/kvm/virtio_ccw.c
drivers/virtio/virtio.c
drivers/virtio/virtio_mmio.c
drivers/virtio/virtio_pci.c
include/linux/virtio.h
include/linux/virtio_config.h
tools/virtio/linux/virtio.h