diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:08 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:08 +0100 |
commit | 2d72c5727f8343a39862b8fca3b53a2bce26a7ca (patch) | |
tree | 2665a90d4825e29d4b52e7a564c071bd63330cd9 /hw/pc.c | |
parent | 07e3af9ac31008a1d7eaaf44d62a13545f01c579 (diff) |
Virtio-balloon qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,7 +33,6 @@ #include "boards.h" #include "monitor.h" #include "fw_cfg.h" -#include "virtio-balloon.h" #include "virtio-console.h" #include "hpet_emul.h" #include "watchdog.h" @@ -1141,8 +1140,9 @@ static void pc_init1(ram_addr_t ram_size, } /* Add virtio balloon device */ - if (pci_enabled) - virtio_balloon_init(pci_bus); + if (pci_enabled) { + pci_create_simple(pci_bus, -1, "virtio-balloon"); + } /* Add virtio console devices */ if (pci_enabled) { |