[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC] accel: default to an actually available acc
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH RFC] accel: default to an actually available accelerator |
Date: |
Wed, 6 Sep 2017 15:35:16 +0100 |
On 6 September 2017 at 12:29, Cornelia Huck <address@hidden> wrote:
> On Wed, 6 Sep 2017 11:49:27 +0200
> Cornelia Huck <address@hidden> wrote:
>> @@ -79,8 +98,7 @@ void configure_accelerator(MachineState *ms)
>>
>> accel = qemu_opt_get(qemu_get_machine_opts(), "accel");
>> if (accel == NULL) {
>> - /* Use the default "accelerator", tcg */
>> - accel = "tcg";
>> + accel = default_accelerator();
>
> It actually may be easier to just switch the default to
> "tcg:kvm:xen:hax". Haven't tested that, though.
Does it make sense to include Xen in the default list?
I don't know much about Xen but I was under the impression
that it's a special purpose thing that you can only use
as part of a Xen setup, whereas tcg, kvm, hax are all
more-or-less interchangeable ways to run a VM under a
Linux/etc host. Do I have the wrong end of the Xen stick?
thanks
-- PMM