Re: [libvirt] [PATCH v4 04/13] XML parsing for memory tunables

2010-10-13 Thread Daniel Veillard
On Wed, Oct 13, 2010 at 10:39:00AM +0530, Nikunj A. Dadhania wrote:
 On Tue, 12 Oct 2010 16:54:39 +0200, Daniel Veillard veill...@redhat.com 
 wrote:
anyway once cleaned up the patch makes sensei, ACK, but please use
  make syntax-check and do not configure out drivers when you are
  developping patches,
  
 Thanks Daniel,
 
 Did not know about the make syntax-check. And as you guessed, I did not
 compile it for other drivers, just went out of my mind, I will take care next
 time.

  Okay, HACKING in the git checkout and http://libvirt.org/hacking.html
gives a set of advices for people developping patches it lists
  make syntax-check and also suggestsi
  ./configure --enable-compile-warnings=error
which would likely have caught the CP error in the remote code.

Daniel

-- 
Daniel Veillard  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
dan...@veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

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


Re: [libvirt] [PATCH v4 04/13] XML parsing for memory tunables

2010-10-12 Thread Daniel Veillard
On Fri, Oct 08, 2010 at 05:45:23PM +0530, Nikunj A. Dadhania wrote:
 From: Nikunj A. Dadhania nik...@linux.vnet.ibm.com
 
 Adding parsing code for memory tunables in the domain xml file
 
 v4:
 * Add memtune in tests/qemuxml2xmltest.c
 * Fix: insert memtune element only when any of them is set
 
 v2:
 + Fix typo min_guarantee

  The patch is fine except the usual space and tabs mixups and the fact
that a number of drivers still needed to be converted to the change
of the definition structure. grep -- -memory src/*/* isn't that
hard and would have shown that even the driver for your own IBM Phyp
hardware failed to compile after your patch !!

  anyway once cleaned up the patch makes sensei, ACK, but please use
make syntax-check and do not configure out drivers when you are
developping patches,

  thanks,

Daniel


-- 
Daniel Veillard  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
dan...@veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

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


Re: [libvirt] [PATCH v4 04/13] XML parsing for memory tunables

2010-10-12 Thread Daniel Veillard
On Tue, Oct 12, 2010 at 09:33:03PM +0200, Matthias Bolte wrote:
 2010/10/12 Daniel Veillard veill...@redhat.com:
  On Fri, Oct 08, 2010 at 05:45:23PM +0530, Nikunj A. Dadhania wrote:
  From: Nikunj A. Dadhania nik...@linux.vnet.ibm.com
 
  Adding parsing code for memory tunables in the domain xml file
 
  v4:
  * Add memtune in tests/qemuxml2xmltest.c
  * Fix: insert memtune element only when any of them is set
 
  v2:
  + Fix typo min_guarantee
 
   The patch is fine except the usual space and tabs mixups and the fact
  that a number of drivers still needed to be converted to the change
  of the definition structure. grep -- -memory src/*/* isn't that
  hard and would have shown that even the driver for your own IBM Phyp
  hardware failed to compile after your patch !!
 
   anyway once cleaned up the patch makes sensei, ACK, but please use
  make syntax-check and do not configure out drivers when you are
  developping patches,
 
   thanks,
 
  Daniel
 
 
 This patch should have added documentation about the new XML elements
 to docs/formatdomain.html.in.

  right! virsh man page need to be completed too,

Daniel

-- 
Daniel Veillard  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
dan...@veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

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


Re: [libvirt] [PATCH v4 04/13] XML parsing for memory tunables

2010-10-12 Thread Nikunj A. Dadhania
On Tue, 12 Oct 2010 16:54:39 +0200, Daniel Veillard veill...@redhat.com wrote:
 On Fri, Oct 08, 2010 at 05:45:23PM +0530, Nikunj A. Dadhania wrote:
  From: Nikunj A. Dadhania nik...@linux.vnet.ibm.com
  
  Adding parsing code for memory tunables in the domain xml file
  
  v4:
  * Add memtune in tests/qemuxml2xmltest.c
  * Fix: insert memtune element only when any of them is set
  
  v2:
  + Fix typo min_guarantee
 
   The patch is fine except the usual space and tabs mixups and the fact
 that a number of drivers still needed to be converted to the change
 of the definition structure. grep -- -memory src/*/* isn't that
 hard and would have shown that even the driver for your own IBM Phyp
 hardware failed to compile after your patch !!
 
   anyway once cleaned up the patch makes sensei, ACK, but please use
 make syntax-check and do not configure out drivers when you are
 developping patches,
 
Thanks Daniel,

Did not know about the make syntax-check. And as you guessed, I did not
compile it for other drivers, just went out of my mind, I will take care next
time.

Regards,
Nikunj

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