qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 2/2] Add configure option --enable-pc-1-0-qem


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v3 2/2] Add configure option --enable-pc-1-0-qemu-kvm
Date: Mon, 22 Sep 2014 19:26:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Alex Bligh <address@hidden> writes:

> On 22 Sep 2014, at 16:45, Andreas Färber <address@hidden> wrote:
>
>> What about adding a bool property "qemu-kvm-compat" to the MachineClass?
>> Then a qemu-kvm shell script (like SUSE uses) can pass -global
>> machine.qemu-kvm-compat=on whereas qemu-system-x86_64 would run in the

No need to mess with -global, just use -machine qemu-kvm-compat=off.
You can have multiple -machine, and the last key=value wins.

>> default non-qemu-kvm mode (config on disk would affect both). It would
>> also allow running -machine pc-0.15,qemu-kvm-compat=on, ditching lots of
>> new machine names and avoiding the name bikeshedding.
>
> I'd be happy with that. Presumably downstream can then patch
> things so qemu-kvm-compat defaults in the way they want (if
> we don't like the configure option).
>
> However, that's not compatible with using PC_COMPAT as far as I
> know (unless there is some cunning way you can make a machine
> parameter change compat_props things).

Monkey-patching MACHINE_GET_CLASS(machine)->compat_props?  Gross, but I
don't have better ideas to offer.



reply via email to

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