Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-02 Thread Luiz Capitulino
On Fri, 2 Feb 2018 16:08:25 +0100 Viktor Mihajlovski wrote: > >> A disabled guest CPU is represented as halted in the QEMU object model > >> and can therefore be identified by the QMP query-cpus command. > >> > >> The initial patch proposal to expose this via virsh

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-02 Thread Luiz Capitulino
On Fri, 2 Feb 2018 12:50:14 -0200 Eduardo Habkost <ehabk...@redhat.com> wrote: > (CCing qemu-devel) > > On Fri, Feb 02, 2018 at 09:21:59AM -0500, Luiz Capitulino wrote: > > On Fri, 2 Feb 2018 14:19:38 + > > Daniel P. Berrangé <berra...@redhat.com> wrote: &g

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-02 Thread Luiz Capitulino
On Fri, 2 Feb 2018 11:01:37 -0500 Luiz Capitulino <lcapitul...@redhat.com> wrote: > On Fri, 2 Feb 2018 15:54:15 + > Daniel P. Berrangé <berra...@redhat.com> wrote: > > > > > The most important question I have is: does this solution satisfy the

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-02 Thread Luiz Capitulino
On Fri, 2 Feb 2018 16:51:23 +0100 Viktor Mihajlovski <mihaj...@linux.vnet.ibm.com> wrote: > On 02.02.2018 16:22, Luiz Capitulino wrote: > > On Fri, 2 Feb 2018 16:08:25 +0100 > > Viktor Mihajlovski <mihaj...@linux.vnet.ibm.com> wrote: > > > >>>&g

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-02 Thread Luiz Capitulino
On Fri, 2 Feb 2018 15:54:15 + Daniel P. Berrangé wrote: > > > The most important question I have is: does this solution satisfy the > > > needs of upper management? That is, if we implement the solution suggested > > > by Eduardo than the feature of automatically

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-02 Thread Luiz Capitulino
On Fri, 2 Feb 2018 15:42:49 -0200 Eduardo Habkost <ehabk...@redhat.com> wrote: > On Fri, Feb 02, 2018 at 05:19:34PM +0100, Viktor Mihajlovski wrote: > > On 02.02.2018 17:01, Luiz Capitulino wrote: > [...] > > > o Make qemuDomainRefreshVcpuHalted() s390-only in libvi

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-02 Thread Luiz Capitulino
On Fri, 2 Feb 2018 16:49:54 -0500 Luiz Capitulino <lcapitul...@redhat.com> wrote: > On Fri, 2 Feb 2018 18:41:44 -0200 > Eduardo Habkost <ehabk...@redhat.com> wrote: > > > On Fri, Feb 02, 2018 at 03:19:45PM -0500, Luiz Capitulino wrote: > > > On Fri, 2 F

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-02 Thread Luiz Capitulino
On Fri, 2 Feb 2018 18:09:12 -0200 Eduardo Habkost <ehabk...@redhat.com> wrote: > On Fri, Feb 02, 2018 at 01:50:33PM -0500, Luiz Capitulino wrote: > > On Fri, 2 Feb 2018 15:42:49 -0200 > > Eduardo Habkost <ehabk...@redhat.com> wrote: > > > > > On Fri

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-02 Thread Luiz Capitulino
On Fri, 2 Feb 2018 18:41:44 -0200 Eduardo Habkost <ehabk...@redhat.com> wrote: > On Fri, Feb 02, 2018 at 03:19:45PM -0500, Luiz Capitulino wrote: > > On Fri, 2 Feb 2018 18:09:12 -0200 > > Eduardo Habkost <ehabk...@redhat.com> wrote: > [...] > > > Your

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-05 Thread Luiz Capitulino
On Mon, 5 Feb 2018 13:47:27 + Daniel P. Berrangé <berra...@redhat.com> wrote: > On Mon, Feb 05, 2018 at 02:43:15PM +0100, Viktor Mihajlovski wrote: > > On 02.02.2018 21:41, Eduardo Habkost wrote: > > > On Fri, Feb 02, 2018 at 03:19:45PM -0500, Luiz Capitulino wrote

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-05 Thread Luiz Capitulino
On Mon, 5 Feb 2018 17:10:18 +0100 Viktor Mihajlovski <mihaj...@linux.vnet.ibm.com> wrote: > On 05.02.2018 16:37, Luiz Capitulino wrote: > > On Mon, 5 Feb 2018 13:47:27 + > > Daniel P. Berrangé <berra...@redhat.com> wrote: > > > >> On Mon

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-05 Thread Luiz Capitulino
On Mon, 5 Feb 2018 20:50:20 -0200 Eduardo Habkost <ehabk...@redhat.com> wrote: > On Mon, Feb 05, 2018 at 10:37:01AM -0500, Luiz Capitulino wrote: > [...] > > However, IMHO, what we really want is to add an API to the guest agent > > to export the CPU online bit from t

Re: [libvirt] [RFC] kvm: x86: export vCPU halted state to sysfs

2018-02-06 Thread Luiz Capitulino
On Tue, 6 Feb 2018 11:29:46 +0100 Viktor Mihajlovski <mihaj...@linux.vnet.ibm.com> wrote: > On 01.02.2018 21:26, Eduardo Habkost wrote: > > On Thu, Feb 01, 2018 at 09:15:15PM +0100, Radim Krčmář wrote: > >> 2018-02-01 12:54-0500, Luiz Capitulino: > >>> >

<    1   2