Re: [PATCH v1 1/1] KVM: trigger uevents when starting or stopping a VM

2017-07-04 Thread Claudio Imbrenda
On Tue, 4 Jul 2017 11:27:44 +0200 Paolo Bonzini wrote: > On 04/07/2017 11:25, Christian Borntraeger wrote: > > On 07/04/2017 11:23 AM, Paolo Bonzini wrote: > >> > >> > >> On 04/07/2017 11:03, Claudio Imbrenda wrote: > >>> This patch adds a few lines to the KVM common code to fire a > >>> KOBJ

Re: [PATCH v1 1/1] KVM: trigger uevents when starting or stopping a VM

2017-07-04 Thread Claudio Imbrenda
On Tue, 4 Jul 2017 11:23:36 +0200 Paolo Bonzini wrote: > On 04/07/2017 11:03, Claudio Imbrenda wrote: > > This patch adds a few lines to the KVM common code to fire a > > KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The > > event carries two environment variables: > > KVM_VM_CREA

Re: [PATCH v1 1/1] KVM: trigger uevents when starting or stopping a VM

2017-07-04 Thread Paolo Bonzini
On 04/07/2017 11:25, Christian Borntraeger wrote: > On 07/04/2017 11:23 AM, Paolo Bonzini wrote: >> >> >> On 04/07/2017 11:03, Claudio Imbrenda wrote: >>> This patch adds a few lines to the KVM common code to fire a >>> KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The event >>> c

Re: [PATCH v1 1/1] KVM: trigger uevents when starting or stopping a VM

2017-07-04 Thread Christian Borntraeger
On 07/04/2017 11:23 AM, Paolo Bonzini wrote: > > > On 04/07/2017 11:03, Claudio Imbrenda wrote: >> This patch adds a few lines to the KVM common code to fire a >> KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The event >> carries two environment variables: >> KVM_VM_CREATED which

Re: [PATCH v1 1/1] KVM: trigger uevents when starting or stopping a VM

2017-07-04 Thread Paolo Bonzini
On 04/07/2017 11:03, Claudio Imbrenda wrote: > This patch adds a few lines to the KVM common code to fire a > KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The event > carries two environment variables: > KVM_VM_CREATED which indicates how many times a new VM has been created, > K

[PATCH v1 1/1] KVM: trigger uevents when starting or stopping a VM

2017-07-04 Thread Claudio Imbrenda
This patch adds a few lines to the KVM common code to fire a KOBJ_CHANGE uevent whenever a KVM VM is created or destroyed. The event carries two environment variables: KVM_VM_CREATED which indicates how many times a new VM has been created, KVM_VM_COUNT which indicates how many VMs are currently ac