diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-03-28 16:34:12 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-04-02 15:04:15 -0500 |
commit | f05f6b4adb4db3affb0cdd17383b0a7e905e66e1 (patch) | |
tree | c95bfd1b99970b8cf0b3ac8aa3a7635fe19924d3 /hw/qdev-monitor.c | |
parent | da57febfed7bad11be79f047b59719c38abd0712 (diff) | |
download | qemu-f05f6b4adb4db3affb0cdd17383b0a7e905e66e1.zip qemu-f05f6b4adb4db3affb0cdd17383b0a7e905e66e1.tar.gz qemu-f05f6b4adb4db3affb0cdd17383b0a7e905e66e1.tar.bz2 |
qdev: put all devices under /machine
Avoid cluttering too much the QOM root.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev-monitor.c')
-rw-r--r-- | hw/qdev-monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/qdev-monitor.c b/hw/qdev-monitor.c index 031cb83..4783366 100644 --- a/hw/qdev-monitor.c +++ b/hw/qdev-monitor.c @@ -180,7 +180,7 @@ static Object *qdev_get_peripheral(void) static Object *dev; if (dev == NULL) { - dev = container_get("/peripheral"); + dev = container_get("/machine/peripheral"); } return dev; @@ -191,7 +191,7 @@ static Object *qdev_get_peripheral_anon(void) static Object *dev; if (dev == NULL) { - dev = container_get("/peripheral-anon"); + dev = container_get("/machine/peripheral-anon"); } return dev; |