On 25-04-2012 16:16, Anthony Liguori wrote:
If you run:

x86_64-softmmu/qemu-system-x86_64

This will SEGV because machine == NULL. It's quite a bit later in this function when machine gets initialized with the default machine.

You mean running only the binary, without arguments? I got no SEGV here, the VM starts up fine - although it doesn't boot due to the lack of disks and everything. The pointer "machine" does have some non-NULL value.

You'll want to test the above, '-machine type=pc', '-machine accel=kvm', and '-M pc' to make sure you cover all of the various cases.


I also tried with the options above and they had the same result, no crash.

Best regards,
Crístian.


Reply via email to