libvirt/src/bhyve
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
..
bhyve_capabilities.c bhyve: Probe grub-bhyve for --cons-dev capability 2014-11-12 09:55:22 +01:00
bhyve_capabilities.h bhyve: Probe grub-bhyve for --cons-dev capability 2014-11-12 09:55:22 +01:00
bhyve_command.c conf: Replace access to def->mem.max_balloon with accessor functions 2015-03-16 14:26:51 +01:00
bhyve_command.h bhyve: Support /domain/bootloader configuration for non-FreeBSD guests. 2014-11-12 09:55:22 +01:00
bhyve_device.c drvbhyve: Clean-up some used ATTRIBUTE_UNUSEDs. 2014-11-13 14:05:10 +01:00
bhyve_device.h bhyve: implement PCI address allocation 2014-06-13 19:25:27 +04:00
bhyve_domain.c conf: Add interface to parse and format memory device information 2015-03-23 14:25:15 +01:00
bhyve_domain.h bhyve: implement PCI address allocation 2014-06-13 19:25:27 +04:00
bhyve_driver.c Fix common misspellings 2015-03-23 09:01:30 +01:00
bhyve_driver.h bhyve: Add console support for grub-bhyve bootloader 2014-11-12 09:55:22 +01:00
bhyve_monitor.c drvbhyve: Automatically tear down guest domains on shutdown 2014-12-04 11:03:13 +01:00
bhyve_monitor.h drvbhyve: Automatically tear down guest domains on shutdown 2014-12-04 11:03:13 +01:00
bhyve_process.c drvbhyve: Automatically tear down guest domains on shutdown 2014-12-04 11:03:13 +01:00
bhyve_process.h bhyve: reconnect to domains after libvirtd restart 2014-07-18 21:07:35 +04:00
bhyve_utils.h bhyve: Add console support for grub-bhyve bootloader 2014-11-12 09:55:22 +01:00