[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] hw/arm/virt: Reject gic-version=host for non-KV
Richard W.M. Jones
Re: [Qemu-devel] [PATCH] hw/arm/virt: Reject gic-version=host for non-KVM
Thu, 26 May 2016 16:14:10 +0100
On Thu, May 26, 2016 at 03:53:54PM +0100, Peter Maydell wrote:
> On 26 May 2016 at 15:46, Richard W.M. Jones <address@hidden> wrote:
> > The problem with this is if I'm using TCG fallback mode, how
> > can I specify the right gic-version? ie:
> > -M virt,gic-version=host,accel=kvm:tcg
> > Only qemu knows if KVM is going to be enabled.
> > The same problem happens with '-cpu host' BTW. I really want a "make
> > it work" option, as I've said on several previous occasions on this
> > list eg:
> > https://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg04173.html
> I agree that we really need to do better here (thinking about
> the problem is on my todo list but generally other more pressing
> issues intervene). I'd welcome suggestions for semantics which
> (a) do what you want (b) are reasonably in line with what we do
> on other host architectures (c) don't break existing command lines.
> (I think those are the main requirements.)
> In the meantime I think this patch is correct for what we
> are currently trying to implement.
Agreed this patch is an improvement on segfaulting which is
what qemu does at the moment :-(
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.