libvirt/src/xen
Peter Krempa 3e4230d270 conf: Add interface to parse and format memory device information
This patch adds code that parses and formats configuration for memory
devices.

A simple configuration would be:
<memory model='dimm'>
  <target>
    <size unit='KiB'>524287</size>
    <node>0</node>
  </target>
</memory>

A complete configuration of a memory device:
<memory model='dimm'>
  <source>
    <pagesize unit='KiB'>4096</pagesize>
    <nodemask>1-3</nodemask>
  </source>
  <target>
    <size unit='KiB'>524287</size>
    <node>1</node>
  </target>
</memory>

This patch preemptively forbids use of the <memory> device in individual
drivers so the users are warned right away that the device is not
supported.
2015-03-23 14:25:15 +01:00
..
block_stats.c Remove unnecessary curly brackets in rest of src/ 2014-11-14 17:13:36 +01:00
block_stats.h maint: clean up _virDomainBlockStats 2014-09-17 11:28:48 -06:00
xen_driver.c conf: Add interface to parse and format memory device information 2015-03-23 14:25:15 +01:00
xen_driver.h
xen_hypervisor.c conf: Separate helper for creating domain objects 2015-02-20 17:43:05 +01:00
xen_hypervisor.h maint: clean up _virDomainBlockStats 2014-09-17 11:28:48 -06:00
xen_inotify.c drivers: use virDirRead API 2014-04-28 17:52:45 -06:00
xen_inotify.h
xend_internal.c Fix common misspellings 2015-03-23 09:01:30 +01:00
xend_internal.h
xm_internal.c conf: Replace access to def->mem.max_balloon with accessor functions 2015-03-16 14:26:51 +01:00
xm_internal.h
xs_internal.c util: Check return value from virStrToLong* functions 2014-07-21 15:20:59 +02:00
xs_internal.h