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

2017-07-10 Thread Paolo Bonzini
On 10/07/2017 13:53, Claudio Imbrenda wrote: > On Mon, 10 Jul 2017 11:40:55 +0200 > David Hildenbrand wrote: > >> On 10.07.2017 11:20, Claudio Imbrenda wrote: >> >> Minor minor nit: >> >> The subject should state "creating or destroying a VM" > > I'll fix it I can fix it when

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

2017-07-10 Thread Paolo Bonzini
On 10/07/2017 13:53, Claudio Imbrenda wrote: > On Mon, 10 Jul 2017 11:40:55 +0200 > David Hildenbrand wrote: > >> On 10.07.2017 11:20, Claudio Imbrenda wrote: >> >> Minor minor nit: >> >> The subject should state "creating or destroying a VM" > > I'll fix it I can fix it when applying, no

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

2017-07-10 Thread Claudio Imbrenda
On Mon, 10 Jul 2017 11:40:55 +0200 David Hildenbrand wrote: > On 10.07.2017 11:20, Claudio Imbrenda wrote: > > Minor minor nit: > > The subject should state "creating or destroying a VM" I'll fix it [...] > > +static void kvm_uevent_notify_change(unsigned int type, struct

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

2017-07-10 Thread Claudio Imbrenda
On Mon, 10 Jul 2017 11:40:55 +0200 David Hildenbrand wrote: > On 10.07.2017 11:20, Claudio Imbrenda wrote: > > Minor minor nit: > > The subject should state "creating or destroying a VM" I'll fix it [...] > > +static void kvm_uevent_notify_change(unsigned int type, struct kvm > > *kvm) +{ >

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

2017-07-10 Thread David Hildenbrand
On 10.07.2017 11:20, Claudio Imbrenda wrote: Minor minor nit: The subject should state "creating or destroying a VM" > 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 five environment variables: >

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

2017-07-10 Thread David Hildenbrand
On 10.07.2017 11:20, Claudio Imbrenda wrote: Minor minor nit: The subject should state "creating or destroying a VM" > 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 five environment variables: >

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

2017-07-10 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 five environment variables: CREATED indicates how many times a new VM has been created. It is useful for example to trigger specific actions when

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

2017-07-10 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 five environment variables: CREATED indicates how many times a new VM has been created. It is useful for example to trigger specific actions when