[libvirt] [PATCH 2/6] conf, schema: add support for numatune memnode element
Daniel P. Berrange
berrange at redhat.com
Wed Jun 4 15:07:06 UTC 2014
On Wed, Jun 04, 2014 at 04:56:28PM +0200, Martin Kletzander wrote:
> @@ -43,9 +43,17 @@ typedef virNumaTuneDef *virNumaTuneDefPtr;
> struct _virNumaTuneDef {
> struct {
> virBitmapPtr nodemask;
> - int mode;
> + int mode; /* enum virDomainNumatuneMemMode */
> int placement_mode; /* enum virNumaTuneMemPlacementMode */
> - } memory;
> + } memory; /* pinning for all the memory */
> +
> + struct mem_node {
Declaring structs inline without typedefs isn't our usual style. There
should be a typedef for virNumaTuneMemNodeDef & virNumaTuneMemNodeDefPtr
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list