aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 64526ec..ba1f3d5 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1525,6 +1525,11 @@ static QEMUMachine pc_machine_v0_10 = {
.init = pc_init_pci,
.max_cpus = 255,
.compat_props = (CompatProperty[]) {
+ {
+ .driver = "virtio-blk-pci",
+ .property = "class",
+ .value = stringify(PCI_CLASS_STORAGE_OTHER),
+ },
{ /* end of list */ }
},
};