Re: [PATCH v1 3/4] qemu_domain.c: do not launch ppc64 guests with 'pmu' setting

2020-03-24 Thread Andrea Bolognani
On Tue, 2020-03-24 at 11:05 -0300, Daniel Henrique Barboza wrote: > On 3/24/20 11:00 AM, Andrea Bolognani wrote: > > On Tue, 2020-03-24 at 09:27 -0300, Daniel Henrique Barboza wrote: > > > For the sake of completeness, I'll also mention that we can simply allow > > > to be > > > declared in the X

Re: [PATCH v1 3/4] qemu_domain.c: do not launch ppc64 guests with 'pmu' setting

2020-03-24 Thread Daniel Henrique Barboza
On 3/24/20 11:00 AM, Andrea Bolognani wrote: On Tue, 2020-03-24 at 09:27 -0300, Daniel Henrique Barboza wrote: Andrea, I see that the behavior of the 'panic' device in the ppc64 XML is to always add a: [...] For the sake of completeness, I'll also mention that we can simply allow to be

Re: [PATCH v1 3/4] qemu_domain.c: do not launch ppc64 guests with 'pmu' setting

2020-03-24 Thread Andrea Bolognani
On Tue, 2020-03-24 at 09:27 -0300, Daniel Henrique Barboza wrote: > Andrea, I see that the behavior of the 'panic' device in the ppc64 XML is to > always add a: > > > > Even if I remove it Libvirt will automatically added it back again. How do you > suggest we handle this PMU? > > We can c

Re: [PATCH v1 3/4] qemu_domain.c: do not launch ppc64 guests with 'pmu' setting

2020-03-24 Thread Daniel Henrique Barboza
On 3/23/20 9:34 PM, David Gibson wrote: On Mon, Mar 23, 2020 at 06:28:34PM +0100, Andrea Bolognani wrote: On Thu, 2020-03-19 at 18:44 -0300, Daniel Henrique Barboza wrote: The Perfomance Monitoring Unit (PMU) feature is not available for the Power architecture. The "" feature will always hav

Re: [PATCH v1 3/4] qemu_domain.c: do not launch ppc64 guests with 'pmu' setting

2020-03-23 Thread David Gibson
On Mon, Mar 23, 2020 at 06:28:34PM +0100, Andrea Bolognani wrote: > On Thu, 2020-03-19 at 18:44 -0300, Daniel Henrique Barboza wrote: > > The Perfomance Monitoring Unit (PMU) feature is not available for > > the Power architecture. The "" feature will always have a value > > 'on' or 'off' after sav

Re: [PATCH v1 3/4] qemu_domain.c: do not launch ppc64 guests with 'pmu' setting

2020-03-23 Thread Daniel Henrique Barboza
On 3/23/20 2:28 PM, Andrea Bolognani wrote: On Thu, 2020-03-19 at 18:44 -0300, Daniel Henrique Barboza wrote: The Perfomance Monitoring Unit (PMU) feature is not available for the Power architecture. The "" feature will always have a value 'on' or 'off' after saving the domain XML, and both w

Re: [PATCH v1 3/4] qemu_domain.c: do not launch ppc64 guests with 'pmu' setting

2020-03-23 Thread Andrea Bolognani
On Thu, 2020-03-19 at 18:44 -0300, Daniel Henrique Barboza wrote: > The Perfomance Monitoring Unit (PMU) feature is not available for > the Power architecture. The "" feature will always have a value > 'on' or 'off' after saving the domain XML, and both will be rejected > by QEMU when launching. Th

[PATCH v1 3/4] qemu_domain.c: do not launch ppc64 guests with 'pmu' setting

2020-03-19 Thread Daniel Henrique Barboza
The Perfomance Monitoring Unit (PMU) feature is not available for the Power architecture. The "" feature will always have a value 'on' or 'off' after saving the domain XML, and both will be rejected by QEMU when launching. This is the error message for "": qemu-kvm: can't apply global host-powerpc