1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-27 07:22:07 +03:00
libvirt/tests/sexpr2xmldata
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-boot-grub.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-boot-grub.xml Fix Xen SEXPR generation to properly quote strings containing () 2010-10-13 16:42:48 +01:00
sexpr2xml-bridge-ipaddr.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-bridge-ipaddr.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-curmem.sexpr * src/xend_internal.c src/xml.c: add an extra element currentMemory 2006-11-10 11:13:01 +00:00
sexpr2xml-curmem.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-disk-block-shareable.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-disk-block-shareable.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-disk-block.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-disk-block.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-disk-drv-blktap2-raw.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-disk-drv-blktap2-raw.xml Add tests for Xen's blktap2 implementation 2010-08-31 09:54:24 -06:00
sexpr2xml-disk-drv-blktap-qcow.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-disk-drv-blktap-qcow.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-disk-drv-blktap-raw.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-disk-drv-blktap-raw.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-disk-file.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-disk-file.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-autoport.sexpr add missing files 2009-01-29 17:14:48 +00:00
sexpr2xml-fv-autoport.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-force-hpet.sexpr xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
sexpr2xml-fv-force-hpet.xml xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
sexpr2xml-fv-force-nohpet.sexpr xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
sexpr2xml-fv-force-nohpet.xml xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
sexpr2xml-fv-kernel.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-kernel.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-legacy-vfb.sexpr Added support for booting off kenrel+initrd with HVM guests 2008-02-05 16:21:25 +00:00
sexpr2xml-fv-legacy-vfb.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-fv-localtime.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-localtime.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-net-ioemu.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-net-ioemu.xml Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
sexpr2xml-fv-net-netfront.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-net-netfront.xml Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
sexpr2xml-fv-parallel-tcp.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-parallel-tcp.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-serial-dev-2-ports.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-dev-2-ports.xml Add support for multiple serial ports into the Xen driver 2011-02-25 11:33:27 -07:00
sexpr2xml-fv-serial-dev-2nd-port.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-dev-2nd-port.xml Add support for multiple serial ports into the Xen driver 2011-02-25 11:33:27 -07:00
sexpr2xml-fv-serial-file.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-file.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-serial-null.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-null.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-serial-pipe.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-pipe.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-serial-pty.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-pty.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-serial-stdio.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-stdio.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-serial-tcp-telnet.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-tcp-telnet.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-serial-tcp.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-tcp.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-serial-udp.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-udp.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-serial-unix.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-serial-unix.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-fv-sound-all.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-sound-all.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-sound.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-sound.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-usbmouse.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-usbmouse.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-usbtablet.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-usbtablet.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-utc.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-utc.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-v2.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv-v2.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-fv.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-net-bridged.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-net-bridged.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-net-e1000.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-net-e1000.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-net-routed.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-net-routed.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-no-source-cdrom.sexpr * src/xend_internal.c src/xml.c: applied patch from Nobuhiro Itou 2007-04-11 16:06:30 +00:00
sexpr2xml-no-source-cdrom.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-pci-devs.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-pci-devs.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-pv-bootloader-cmdline.sexpr Do not drop kernel cmdline for xen pv domains 2011-07-11 09:11:15 -06:00
sexpr2xml-pv-bootloader-cmdline.xml Do not drop kernel cmdline for xen pv domains 2011-07-11 09:11:15 -06:00
sexpr2xml-pv-bootloader.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-pv-bootloader.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-pv-localtime.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-pv-localtime.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-pv-vcpus.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-pv-vcpus.xml vcpu: improve vcpu support in xen command line 2010-10-19 10:06:45 -06:00
sexpr2xml-pv-vfb-new-vncdisplay.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-pv-vfb-new-vncdisplay.xml conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04:00
sexpr2xml-pv-vfb-new.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-pv-vfb-new.xml conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04:00
sexpr2xml-pv-vfb-orig.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-pv-vfb-orig.xml conf: add <listen> subelement to domain <graphics> element 2011-07-28 13:46:39 -04:00
sexpr2xml-pv-vfb-type-crash.sexpr Add test for recently fixed crash with latest XenD 2009-08-19 17:44:50 +01:00
sexpr2xml-pv-vfb-type-crash.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
sexpr2xml-pv.sexpr maint: avoid long lines in more tests 2011-03-03 07:45:31 -07:00
sexpr2xml-pv.xml domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00