summaryrefslogtreecommitdiffstats
path: root/hw/pc.c
diff options
context:
space:
mode:
authorGerd Hoffmann2009-12-08 13:11:33 +0100
committerAnthony Liguori2009-12-12 14:59:40 +0100
commit458fb6792d834474c6b289738b6bf9601fad87ab (patch)
tree52267a01f5e1349ff53f0ce514efbdd0263b0c7f /hw/pc.c
parentkvm: x86: Save/restore exception_index (diff)
downloadqemu-458fb6792d834474c6b289738b6bf9601fad87ab.tar.gz
qemu-458fb6792d834474c6b289738b6bf9601fad87ab.tar.xz
qemu-458fb6792d834474c6b289738b6bf9601fad87ab.zip
qdev: make compat stuff more generic
This patch renames the compat properties into global properties and makes them more generic. The compatibility stuff is only one of multiple possible users now. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 8c1b7ea575..147a9a7022 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1298,7 +1298,7 @@ static QEMUMachine pc_machine_v0_10 = {
.desc = "Standard PC, qemu 0.10",
.init = pc_init_pci,
.max_cpus = 255,
- .compat_props = (CompatProperty[]) {
+ .compat_props = (GlobalProperty[]) {
{
.driver = "virtio-blk-pci",
.property = "class",