qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/1 v3] Allow machines to configure the QEMU_VER


From: Anthony Liguori
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 12:41:54 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

On 04/27/2012 12:16 PM, Crístian Viana wrote:
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.

Can you post a git tree on github so I can look at the difference? Maybe patch applied it wrong.

Regards,

Anthony Liguori


Best regards,
Crístian.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]