diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-11-11 12:59:26 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-11-21 09:16:57 -0600 |
commit | 9dbcca5aa13cb9ab40788ac4c56bc227d94ca920 (patch) | |
tree | 25b0a1351d647660d438325f014e4d20983519de /hw/pc_piix.c | |
parent | b903a0f721f28283e5eaab00a3cb2ada96c2eae0 (diff) |
virtfs: enable MSI-X
This patch enables MSI-X for virtfs-9p-pci. It also adds a
compat property to pc-0.13 which turns it of there to stay
compatible to 0.13-stable.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc_piix.c')
-rw-r--r-- | hw/pc_piix.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/pc_piix.c b/hw/pc_piix.c index e17e878f07..31c80d273b 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -225,6 +225,14 @@ static QEMUMachine pc_machine_v0_13 = { .desc = "Standard PC", .init = pc_init_pci, .max_cpus = 255, + .compat_props = (GlobalProperty[]) { + { + .driver = "virtio-9p-pci", + .property = "vectors", + .value = stringify(0), + }, + { /* end of list */ } + }, }; static QEMUMachine pc_machine_v0_12 = { |