diff options
author | Gal Hammer <ghammer@redhat.com> | 2013-02-27 15:15:31 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-02-27 17:24:40 +0200 |
commit | 554f1997f0328bc259454239db64b20b3376d9a6 (patch) | |
tree | bed45ab9191865a2d33902deafc4e32109424c84 /hw/pc.h | |
parent | 0e98b436eceb9d31caad898f4983a369c76524e0 (diff) | |
download | qemu-554f1997f0328bc259454239db64b20b3376d9a6.zip qemu-554f1997f0328bc259454239db64b20b3376d9a6.tar.gz qemu-554f1997f0328bc259454239db64b20b3376d9a6.tar.bz2 |
Set virtio-serial device to have a default of 2 MSI vectors.
The virtio-serial device is expected to use 2 MSI vectors, one for
control queue and a second shared for all queues.
Signed-off-by: Gal Hammer <ghammer@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -216,6 +216,11 @@ int e820_add_entry(uint64_t, uint64_t, uint32_t); .driver = "virtio-blk-pci",\ .property = "discard_granularity",\ .value = stringify(0),\ + },{\ + .driver = "virtio-serial-pci",\ + .property = "vectors",\ + /* DEV_NVECTORS_UNSPECIFIED as a uint32_t string */\ + .value = stringify(0xFFFFFFFF),\ } #endif |