|
From: | Crístian Viana |
Subject: | Re: [Qemu-devel] [PATCH 1/1 v3] Allow machines to configure the QEMU_VERSION that's exposed via hardware |
Date: | Fri, 27 Apr 2012 14:16:26 -0300 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120411 Thunderbird/11.0.1 |
On 25-04-2012 16:16, Anthony Liguori wrote:
If you run: x86_64-softmmu/qemu-system-x86_64This 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.
[Prev in Thread] | Current Thread | [Next in Thread] |