Blame libvirt-0.4.5-no-emulator-segfault.patch
|
Daniel Veillard |
c0c1a7 |
diff --git a/src/qemu_conf.c b/src/qemu_conf.c
|
|
Daniel Veillard |
c0c1a7 |
index d742c32..23ef050 100644
|
|
Daniel Veillard |
c0c1a7 |
--- a/src/qemu_conf.c
|
|
Daniel Veillard |
c0c1a7 |
+++ b/src/qemu_conf.c
|
|
Daniel Veillard |
c0c1a7 |
@@ -790,7 +790,7 @@ int qemudBuildCommandLine(virConnectPtr conn,
|
|
Daniel Veillard |
c0c1a7 |
if (!emulator)
|
|
Daniel Veillard |
c0c1a7 |
return -1;
|
|
Daniel Veillard |
c0c1a7 |
|
|
Daniel Veillard |
c0c1a7 |
- ADD_ARG_LIT(vm->def->emulator);
|
|
Daniel Veillard |
c0c1a7 |
+ ADD_ARG_LIT(emulator);
|
|
Daniel Veillard |
c0c1a7 |
ADD_ARG_LIT("-S");
|
|
Daniel Veillard |
c0c1a7 |
ADD_ARG_LIT("-M");
|
|
Daniel Veillard |
c0c1a7 |
ADD_ARG_LIT(vm->def->os.machine);
|