Add a pc-0-10 machine type to allow a pc machine to be created with
virtio block and console devices compatibilty with qemu-0.10.x.
Signed-off-by: Mark McLoughlin<address@hidden>
---
hw/pc.c | 46 ++++++++++++++++++++++++++++++++++++++++------
1 files changed, 40 insertions(+), 6 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index 553ba5c..9025f78 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1084,9 +1084,12 @@ static CPUState *pc_new_cpu(const char *cpu_model)
/* PC hardware initialisation */
static void pc_init1(ram_addr_t ram_size,
const char *boot_device,
- const char *kernel_filename, const char *kernel_cmdline,
+ const char *kernel_filename,
+ const char *kernel_cmdline,
const char *initrd_filename,
- int pci_enabled, const char *cpu_model)
+ const char *cpu_model,
+ int pci_enabled,
+ int compat_0_10)