Re: [libvirt] [PATCH] conf:audit: fix no audit log when start a vm with iothread

2015-06-02 Thread John Ferlan


On 05/31/2015 10:07 AM, Luyao Huang wrote:
 Signed-off-by: Luyao Huang lhu...@redhat.com
 ---
  src/conf/domain_audit.c | 2 ++
  1 file changed, 2 insertions(+)
 

ACK -

Will adjust commit message slightly before pushing...

John

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] [PATCH] conf:audit: fix no audit log when start a vm with iothread

2015-06-02 Thread lhuang


On 06/03/2015 02:06 AM, John Ferlan wrote:


On 05/31/2015 10:07 AM, Luyao Huang wrote:

Signed-off-by: Luyao Huang lhu...@redhat.com
---
  src/conf/domain_audit.c | 2 ++
  1 file changed, 2 insertions(+)


ACK -

Will adjust commit message slightly before pushing...


Thanks again for your review and help... ;)



John


Luyao

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] [PATCH] conf:audit: fix no audit log when start a vm with iothread

2015-05-31 Thread Luyao Huang
Signed-off-by: Luyao Huang lhu...@redhat.com
---
 src/conf/domain_audit.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/conf/domain_audit.c b/src/conf/domain_audit.c
index 4ea10d2..1900039 100644
--- a/src/conf/domain_audit.c
+++ b/src/conf/domain_audit.c
@@ -885,6 +885,8 @@ virDomainAuditStart(virDomainObjPtr vm, const char *reason, 
bool success)
 
 virDomainAuditMemory(vm, 0, vm-def-mem.cur_balloon, start, true);
 virDomainAuditVcpu(vm, 0, vm-def-vcpus, start, true);
+if (vm-def-iothreads)
+virDomainAuditIOThread(vm, 0, vm-def-iothreads, start, true);
 
 virDomainAuditLifecycle(vm, start, reason, success);
 }
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list