libvirt/tests
Michal Privoznik 311b4a677f qemu: Allow system pages to <memoryBacking/>
https://bugzilla.redhat.com/show_bug.cgi?id=1173507

It occurred to me that OpenStack uses the following XML when not using
regular huge pages:

  <memoryBacking>
    <hugepages>
      <page size='4' unit='KiB'/>
    </hugepages>
  </memoryBacking>

However, since we are expecting to see huge pages only, we fail to
startup the domain with following error:

  libvirtError: internal error: Unable to find any usable hugetlbfs
  mount for 4 KiB

While regular system pages are not huge pages technically, our code is
prepared for that and if it helps OpenStack (or other management
applications) we should cope with that.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-12-15 13:36:47 +01:00
..
bhyvexml2argvdata drvbhyve: Use boot-order for grub-bhyve boot device 2014-11-13 15:40:48 +01:00
bhyvexml2xmloutdata
capabilityschemadata
commanddata
confdata
cputestdata
domaincapsschemadata
domainconfdata
domainschemadata
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
fchostdata/fc_host
interfaceschemadata
lxcconf2xmldata lxc domain from xml: convert lxc.cap.drop 2014-07-23 15:12:37 +08:00
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata network: dnsmasq: Don't format lease file path 2014-12-03 14:22:40 +01:00
networkxml2firewalldata
networkxml2xmlin conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
networkxml2xmlout conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata
nodeinfodata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata qemu: add test for qemuAgentGetFSInfo 2014-11-24 10:29:16 -05:00
qemucapabilitiesdata caps: introduce new QEMU capability for vgamem_mb device property 2014-11-24 22:05:56 +01:00
qemucaps2xmldata
qemuhelpdata qemu: Don't try to parse -help for new QEMU 2014-11-13 21:25:50 +01:00
qemuhotplugtestdata video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
qemumonitorjsondata
qemuxml2argvdata qemu: Allow system pages to <memoryBacking/> 2014-12-15 13:36:47 +01:00
qemuxml2xmloutdata qemu-command: introduce new vgamem attribute for QXL video device 2014-11-24 22:20:13 +01:00
qemuxmlnsdata qemu: Set QEMU_AUDIO_DRV=none with -nographic 2013-09-02 16:53:39 -04:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata
storagepoolschemadata
storagepoolxml2xmlin storage: Introduce 'managed' for the fchost parent 2014-11-12 10:18:28 -05:00
storagepoolxml2xmlout storage: Introduce 'managed' for the fchost parent 2014-11-12 10:18:28 -05:00
storagevolschemadata
storagevolxml2argvdata
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata
virfiledata
virpcitestdata
virscsidata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata conf: Add keyboard input device type 2014-02-19 09:16:31 +01:00
xencapsdata
xmconfigdata
xml2sexprdata
xml2vmxdata esx: Fix floppy.fileName handling in the vmx file parser 2013-10-15 11:39:02 +01:00
.valgrind.supp
bhyvexml2argvmock.c
bhyvexml2argvtest.c drvbhyve: Use boot-order for grub-bhyve boot device 2014-11-13 15:40:48 +01:00
bhyvexml2xmltest.c
capabilityschematest
commandhelper.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
commandtest.c
cpuset
cputest.c
define-dev-segfault
domaincapsschematest
domaincapstest.c
domainconftest.c
domainschematest
domainsnapshotschematest
domainsnapshotxml2xmltest.c
esxutilstest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
eventtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
fchosttest.c
fdstreamtest.c
int-overflow
interfaceschematest
interfacexml2xmltest.c
jsontest.c
libvirtd-fail
libvirtd-pool
libvirtdconftest.c virconf: Introduce VIR_CONF_ULONG 2014-12-15 10:34:18 +01:00
lxcconf2xmltest.c
lxcxml2xmltest.c
Makefile.am qemu: add test for qemuAgentGetFSInfo 2014-11-24 10:29:16 -05:00
metadatatest.c
networkschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
networkxml2conftest.c network: dnsmasq: Don't format lease file path 2014-12-03 14:22:40 +01:00
networkxml2firewalltest.c
networkxml2xmltest.c conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
networkxml2xmlupdatetest.c
nodedevschematest
nodedevxml2xmltest.c
nodeinfotest.c
nwfilterebiptablestest.c
nwfilterschematest
nwfilterxml2firewalltest.c
nwfilterxml2xmltest.c
objecteventtest.c
objectlocking.ml
oomtrace.pl
openvzutilstest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
openvzutilstest.conf openvz: Add simple test for openvzReadNetworkConf 2011-06-01 11:58:15 +02:00
pkix_asn1_tab.c
qemuagenttest.c qemu: add test for qemuAgentGetFSInfo 2014-11-24 10:29:16 -05:00
qemuargv2xmltest.c tests: Fix sharable typo 2014-12-09 10:02:20 -05:00
qemucapabilitiestest.c
qemucaps2xmltest.c
qemuhelptest.c Report original error when QMP probing fails with new QEMU 2014-12-05 10:57:46 +00:00
qemuhotplugtest.c
qemumonitorjsontest.c tests: Fix misplaced parenthesis in qemumonitorjsontest 2014-12-04 11:43:22 +01:00
qemumonitortest.c
qemumonitortestutils.c
qemumonitortestutils.h
qemuxml2argvmock.c
qemuxml2argvtest.c qemu: Allow system pages to <memoryBacking/> 2014-12-15 13:36:47 +01:00
qemuxml2xmltest.c conf: Add channel state for virtio channels to the XML 2014-11-21 11:00:11 +01:00
qemuxmlnstest.c
read-bufsiz
read-non-seekable
reconnect.c
schematestutils.sh
scsihosttest.c
seclabeltest.c
secretschematest
secretxml2xmltest.c
securityselinuxhelper.c
securityselinuxlabeltest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
securityselinuxtest.c
sexpr2xmltest.c
shunloadhelper.c
shunloadtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
sockettest.c
ssh.c
start
statstest.c
storagebackendsheepdogtest.c
storagepoolschematest
storagepoolxml2xmltest.c storage: Introduce 'managed' for the fchost parent 2014-11-12 10:18:28 -05:00
storagevolschematest
storagevolxml2argvtest.c
storagevolxml2xmltest.c
sysinfotest.c
test_conf.c
test_conf.sh
test-lib.sh
testutils.c test: xml2xml: Print full filenames if xml2xml test fails 2014-11-21 11:00:10 +01:00
testutils.h test: xml2xml: Print full filenames if xml2xml test fails 2014-11-21 11:00:10 +01:00
testutilslxc.c
testutilslxc.h
testutilsqemu.c
testutilsqemu.h tests: Move qemu caps XML parsing into shared unit 2014-07-03 12:22:37 +02:00
testutilsxen.c capabilities: use bool instead of int 2014-07-14 08:00:46 -06:00
testutilsxen.h Don't leave empty first line in C source files 2014-03-18 12:17:12 +01:00
utiltest.c internal: add macro to round value to the next closest power of 2 2014-11-24 22:05:55 +01:00
vboxsnapshotxmltest.c
vcpupin virsh: forbid negative vcpu argument to vcpupin 2014-06-12 14:06:21 +02:00
viralloctest.c
viratomictest.c
virauthconfigtest.c
virbitmaptest.c
virbuftest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
vircaps2xmltest.c
vircapstest.c
vircgroupmock.c
vircgrouptest.c
vircryptotest.c
virdbustest.c dbus: fix arrays of bools 2014-11-25 08:47:12 -07:00
virdrivermoduletest.c
virendiantest.c
virfiletest.c
virfirewalltest.c
virhashdata.h
virhashtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
virhostdevtest.c
viridentitytest.c
viriscsitest.c
virkeycodetest.c
virkeyfiletest.c
virkmodtest.c
virlockspacetest.c
virlogtest.c
virmock.h tests: fix documentation for mocking methods 2014-11-27 11:17:56 +01:00
virmockdbus.c
virnetdevbandwidthmock.c Iface: disallow network tuning in session mode globally 2014-11-06 14:28:37 +01:00
virnetdevbandwidthtest.c
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c
virnettlscontexttest.c
virnettlshelpers.c
virnettlshelpers.h
virnettlssessiontest.c
virpcimock.c
virpcitest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virpolkittest.c
virportallocatortest.c
virscsitest.c
virsh-all
virsh-optparse
virsh-schedinfo
virsh-synopsis
virsh-undefine
virsh-uriprecedence
virshtest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virstoragetest.c storage: Allow parsing of RBD backing strings when building backing chain 2014-11-21 14:37:02 +01:00
virstringtest.c
virsystemdtest.c
virt-aa-helper-test video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
virtimetest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
viruritest.c
virusbmock.c
virusbtest.c
vmwarevertest.c
vmx2xmltest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
xencapstest.c
xmconfigtest.c
xml2sexprtest.c
xml2vmxtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00