libvirt/tests/xmconfigdata
Eric Blake 0fab10e5ed vcpu: improve vcpu support in xen command line
This patch series focuses on xendConfigVersion 2 (xm_internal) and 3
(xend_internal), but leaves out changes for xenapi drivers.

See this link for more details about vcpu_avail for xm usage.
http://lists.xensource.com/archives/html/xen-devel/2009-11/msg01061.html

This relies on the fact that def->maxvcpus can be at most 32 with xen.

* src/xen/xend_internal.c (xenDaemonParseSxpr)
(sexpr_to_xend_domain_info, xenDaemonFormatSxpr): Use vcpu_avail
when current vcpus is less than maximum.
* src/xen/xm_internal.c (xenXMDomainConfigParse)
(xenXMDomainConfigFormat): Likewise.
* tests/xml2sexprdata/xml2sexpr-pv-vcpus.sexpr: New file.
* tests/sexpr2xmldata/sexpr2xml-pv-vcpus.sexpr: Likewise.
* tests/sexpr2xmldata/sexpr2xml-pv-vcpus.xml: Likewise.
* tests/xmconfigdata/test-paravirt-vcpu.cfg: Likewise.
* tests/xmconfigdata/test-paravirt-vcpu.xml: Likewise.
* tests/xml2sexprtest.c (mymain): New test.
* tests/sexpr2xmltest.c (mymain): Likewise.
* tests/xmconfigtest.c (mymain): Likewise.
2010-10-19 10:06:45 -06:00
..
Makefile.am build: avoid non-srcdir "make distcheck" failures (srcdir vs wildcard) 2010-02-25 10:50:18 +01:00
sexpr2xml-pv-bootloader.cfg bootloader_args is named bootargs in xen-xm 2010-08-09 16:11:25 -06:00
sexpr2xml-pv-bootloader.xml bootloader_args is named bootargs in xen-xm 2010-08-09 16:11:25 -06:00
test-escape-paths.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-escape-paths.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-localtime.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-localtime.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-net-ioemu.cfg Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
test-fullvirt-net-ioemu.xml Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
test-fullvirt-net-netfront.cfg Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
test-fullvirt-net-netfront.xml Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
test-fullvirt-new-cdrom.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-new-cdrom.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-old-cdrom.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-old-cdrom.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-parallel-tcp.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-parallel-tcp.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-file.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-file.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-null.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-null.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-pipe.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-pipe.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-pty.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-pty.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-stdio.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-stdio.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-tcp-telnet.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-tcp-telnet.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-tcp.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-tcp.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-udp.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-udp.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-unix.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-serial-unix.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-sound.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-sound.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-usbmouse.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-usbmouse.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-usbtablet-no-bus.xml Fix XM driver VIF config creation 2009-04-24 12:17:50 +00:00
test-fullvirt-usbtablet.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-usbtablet.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-utc.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-fullvirt-utc.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-no-source-cdrom.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-no-source-cdrom.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-paravirt-net-e1000.cfg Fix XM driver VIF config creation 2009-04-24 12:17:50 +00:00
test-paravirt-net-e1000.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
test-paravirt-net-vifname.cfg Fix XM driver VIF config creation 2009-04-24 12:17:50 +00:00
test-paravirt-net-vifname.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
test-paravirt-new-pvfb-vncdisplay.cfg Fix XM driver VIF config creation 2009-04-24 12:17:50 +00:00
test-paravirt-new-pvfb-vncdisplay.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
test-paravirt-new-pvfb.cfg Fix XM driver VIF config creation 2009-04-24 12:17:50 +00:00
test-paravirt-new-pvfb.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
test-paravirt-old-pvfb-vncdisplay.cfg Fix XM driver VIF config creation 2009-04-24 12:17:50 +00:00
test-paravirt-old-pvfb-vncdisplay.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
test-paravirt-old-pvfb.cfg Fix XM driver VIF config creation 2009-04-24 12:17:50 +00:00
test-paravirt-old-pvfb.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
test-paravirt-vcpu.cfg vcpu: improve vcpu support in xen command line 2010-10-19 10:06:45 -06:00
test-paravirt-vcpu.xml vcpu: improve vcpu support in xen command line 2010-10-19 10:06:45 -06:00
test-pci-devs.cfg xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
test-pci-devs.xml xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00