1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +03:00
libvirt/tests/xmconfigdata
Laine Stump ef79fb5b5f conf: add <listen> subelement to domain <graphics> element
Once it's plugged in, the <listen> element will be an optional
replacement for the "listen" attribute that graphics elements already
have. If the <listen> element is type='address', it will have an
attribute called 'address' which will contain an IP address or dns
name that the guest's display server should listen on. If, however,
type='network', the <listen> element should have an attribute called
'network' that will be set to the name of a network configuration to
get the IP address from.

* docs/schemas/domain.rng: updated to allow the <listen> element

* docs/formatdomain.html.in: document the <listen> element and its
  attributes.

* src/conf/domain_conf.[hc]:

  1) The domain parser, formatter, and data structure are modified to
     support 0 or more <listen> subelements to each <graphics>
     element. The old style "legacy" listen attribute is also still
     accepted, and will be stored internally just as if it were a
     separate <listen> element. On output (i.e. format), the address
     attribute of the first <listen> element of type 'address' will be
     duplicated in the legacy "listen" attribute of the <graphic>
     element.

  2) The "listenAddr" attribute has been removed from the unions in
     virDomainGRaphicsDef for graphics types vnc, rdp, and spice.
     This attribute is now in the <listen> subelement (aka
     virDomainGraphicsListenDef)

  3) Helper functions were written to provide simple access
     (both Get and Set) to the listen elements and their attributes.

* src/libvirt_private.syms: export the listen helper functions

* src/qemu/qemu_command.c, src/qemu/qemu_hotplug.c,
  src/qemu/qemu_migration.c, src/vbox/vbox_tmpl.c,
  src/vmx/vmx.c, src/xenxs/xen_sxpr.c, src/xenxs/xen_xm.c

  Modify all these files to use the listen helper functions rather
  than directly referencing the (now missing) listenAddr
  attribute. There can be multiple <listen> elements to a single
  <graphics>, but the drivers all currently only support one, so all
  replacements of direct access with a helper function indicate index
  "0".

* tests/* - only 3 of these are new files added explicitly to test the
  new <listen> element. All the others have been modified to reflect
  the fact that any legacy "listen" attributes passed in to the domain
  parse will be saved in a <listen> element (i.e. one of the
  virDomainGraphicsListenDefs), and during the domain format function,
  both the <listen> element as well as the legacy attributes will be
  output.
2011-07-28 13:46:39 -04: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 Fix order of disks and controllers 2011-06-01 19:11:58 +02:00
test-escape-paths.xml conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04:00
test-fullvirt-force-hpet.cfg xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
test-fullvirt-force-hpet.xml conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04:00
test-fullvirt-force-nohpet.cfg xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
test-fullvirt-force-nohpet.xml conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04:00
test-fullvirt-serial-dev-2-ports.cfg Add support for multiple serial ports into the Xen driver 2011-02-25 11:33:27 -07:00
test-fullvirt-serial-dev-2-ports.xml conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04:00
test-fullvirt-serial-dev-2nd-port.cfg Add support for multiple serial ports into the Xen driver 2011-02-25 11:33:27 -07:00
test-fullvirt-serial-dev-2nd-port.xml conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04:00
test-fullvirt-usbtablet-no-bus.xml conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04: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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -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 conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04:00
test-paravirt-vcpu.cfg Fix make check on RHEL-5 2010-10-20 16:14:18 +02:00
test-paravirt-vcpu.xml Fix make check on RHEL-5 2010-10-20 16:14:18 +02: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