diff options
author | Alexander Graf <agraf@suse.de> | 2010-08-24 09:48:51 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 04:51:29 -0400 |
commit | cefa33e2f8f7852abb42f22ec25a6084a931c5ac (patch) | |
tree | 6944f5afe499955b69316cf7b3f62e7464028dd3 /arch/s390 | |
parent | fc678d67fee1acccf21322318dd833b892a572e4 (diff) |
KVM: S390: Add virtio hotplug add support
The one big missing feature in s390-virtio was hotplugging. This is no more.
This patch implements hotplug add support, so you can on the fly add new devices
in the guest.
Keep in mind that this needs a patch for qemu to actually leverage the
functionality.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/kvm_virtio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm_virtio.h b/arch/s390/include/asm/kvm_virtio.h index 3f5d100a42a2..72f614181eff 100644 --- a/arch/s390/include/asm/kvm_virtio.h +++ b/arch/s390/include/asm/kvm_virtio.h | |||
@@ -59,5 +59,6 @@ struct kvm_vqconfig { | |||
59 | #define VIRTIO_PARAM_MASK 0xff | 59 | #define VIRTIO_PARAM_MASK 0xff |
60 | #define VIRTIO_PARAM_VRING_INTERRUPT 0x0 | 60 | #define VIRTIO_PARAM_VRING_INTERRUPT 0x0 |
61 | #define VIRTIO_PARAM_CONFIG_CHANGED 0x1 | 61 | #define VIRTIO_PARAM_CONFIG_CHANGED 0x1 |
62 | #define VIRTIO_PARAM_DEV_ADD 0x2 | ||
62 | 63 | ||
63 | #endif | 64 | #endif |