qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC 0/2] target-arm: Provide '-cpu host' when running


From: Peter Maydell
Subject: Re: [Qemu-devel] [RFC 0/2] target-arm: Provide '-cpu host' when running KVM
Date: Wed, 14 Aug 2013 19:11:49 +0100

On 14 August 2013 18:31, Alexander Graf <address@hidden> wrote:
> So why not have a vm ioctl to fetch the "best match" vcpu type?

I don't object to that particularly, but
(a) we're not going to use the extra flexibility because
    the only thing we'll do is just bounce the answer
    back at the kernel
(b) it requires an actual new ioctl rather than just
    defining another supported value for the existing one
(c) the code is less neat if you have to do "ask kernel
    for best-match, if it has it use it otherwise fall
    back to [small list of legacy cpus]" than if you
    just have "try best-match/legacy1/legacy2/legacy3".

If the consensus is that a 'fetch best match' ioctl
is the preferred API that's fine.

-- PMM



reply via email to

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