[Qemu-devel] [PATCH v3 00/15] target/arm/kvm: enable SVE in guests

Zhang, Lei posted 15 patches 6 years, 5 months ago
Only 0 patches received!
There is a newer version of this series
[Qemu-devel] [PATCH v3 00/15] target/arm/kvm: enable SVE in guests
Posted by Zhang, Lei 6 years, 5 months ago
Hi Andrew,

I have tested your patch on kernel- 5.2.7 + QEMU (4.0.94 + patch).

This patch series works fine for my tests when use qemu-system-aarch64 directly.
But I can't startup kvm when I use virsh[1].

Command I executed.
# virsh start test1

The error message is [internal error: CPU features not supported by hypervisor for aarch64 architecture.]
Do you have any ideas for this error? 

[1]
https://www.redhat.com/archives/libvir-list/2019-July/msg01524.html

Best Regards,
Lei Zhang
Re: [Qemu-devel] [PATCH v3 00/15] target/arm/kvm: enable SVE in guests
Posted by Andrew Jones 6 years, 5 months ago
On Tue, Aug 20, 2019 at 06:08:04AM +0000, Zhang, Lei wrote:
> Hi Andrew,
> 
> I have tested your patch on kernel- 5.2.7 + QEMU (4.0.94 + patch).

Thanks for the testing! I guess it's time for me to get back to this
series and spin a v4 (so we can test some more :-)

> 
> This patch series works fine for my tests when use qemu-system-aarch64 directly.
> But I can't startup kvm when I use virsh[1].
> 
> Command I executed.
> # virsh start test1
> 
> The error message is [internal error: CPU features not supported by hypervisor for aarch64 architecture.]
> Do you have any ideas for this error? 

I've CC'ed Andrea.

Thanks,
drew

> 
> [1]
> https://www.redhat.com/archives/libvir-list/2019-July/msg01524.html
> 
> Best Regards,
> Lei Zhang

Re: [Qemu-devel] [PATCH v3 00/15] target/arm/kvm: enable SVE in guests
Posted by Andrea Bolognani 6 years, 5 months ago
On Tue, 2019-08-20 at 09:53 +0200, Andrew Jones wrote:
> On Tue, Aug 20, 2019 at 06:08:04AM +0000, Zhang, Lei wrote:
> > Hi Andrew,
> > 
> > I have tested your patch on kernel- 5.2.7 + QEMU (4.0.94 + patch).
> 
> Thanks for the testing! I guess it's time for me to get back to this
> series and spin a v4 (so we can test some more :-)
> 
> > This patch series works fine for my tests when use qemu-system-aarch64 directly.
> > But I can't startup kvm when I use virsh[1].
> > 
> > Command I executed.
> > # virsh start test1
> > 
> > The error message is [internal error: CPU features not supported by hypervisor for aarch64 architecture.]
> > Do you have any ideas for this error? 
> 
> I've CC'ed Andrea.

I've specifically patched out that check in my series... Are you
sure you're using the modified libvirt version, and that your guest
is configured to use the modified QEMU binary?

Anyway, once v4 has been posted I'll respin the libvirt series as
well, since in the meantime conflicts have popped up and it no longer
applies cleanly on top of master.

-- 
Andrea Bolognani / Red Hat / Virtualization