Eric Blake
98334e7c3a
domain_conf: split source data out from ChrDef
This opens up the possibility of reusing the smaller ChrSourceDef
for both qemu monitor and a passthrough smartcard device.
* src/conf/domain_conf.h (_virDomainChrDef): Factor host
details...
(_virDomainChrSourceDef): ...into new struct.
(virDomainChrSourceDefFree): New prototype.
* src/conf/domain_conf.c (virDomainChrDefFree)
(virDomainChrDefParseXML, virDomainChrDefFormat): Split...
(virDomainChrSourceDefClear, virDomainChrSourceDefFree)
(virDomainChrSourceDefParseXML, virDomainChrSourceDefFormat):
...into new functions.
(virDomainChrDefParseTargetXML): Update clients to reflect type
split.
* src/vmx/vmx.c (virVMXParseSerial, virVMXParseParallel)
(virVMXFormatSerial, virVMXFormatParallel): Likewise.
* src/xen/xen_driver.c (xenUnifiedDomainOpenConsole): Likewise.
* src/xen/xend_internal.c (xenDaemonParseSxprChar)
(xenDaemonFormatSxprChr): Likewise.
* src/vbox/vbox_tmpl.c (vboxDomainDumpXML, vboxAttachSerial)
(vboxAttachParallel): Likewise.
* src/security/security_dac.c (virSecurityDACSetChardevLabel)
(virSecurityDACSetChardevCallback)
(virSecurityDACRestoreChardevLabel)
(virSecurityDACRestoreChardevCallback): Likewise.
* src/security/security_selinux.c (SELinuxSetSecurityChardevLabel)
(SELinuxSetSecurityChardevCallback)
(SELinuxRestoreSecurityChardevLabel)
(SELinuxSetSecurityChardevCallback): Likewise.
* src/security/virt-aa-helper.c (get_files): Likewise.
* src/lxc/lxc_driver.c (lxcVmStart, lxcDomainOpenConsole):
Likewise.
* src/uml/uml_conf.c (umlBuildCommandLineChr): Likewise.
* src/uml/uml_driver.c (umlIdentifyOneChrPTY, umlIdentifyChrPTY)
(umlDomainOpenConsole): Likewise.
* src/qemu/qemu_command.c (qemuBuildChrChardevStr)
(qemuBuildChrArgStr, qemuBuildCommandLine)
(qemuParseCommandLineChr): Likewise.
* src/qemu/qemu_domain.c (qemuDomainObjPrivateXMLFormat)
(qemuDomainObjPrivateXMLParse): Likewise.
* src/qemu/qemu_cgroup.c (qemuSetupChardevCgroup): Likewise.
* src/qemu/qemu_hotplug.c (qemuDomainAttachNetDevice): Likewise.
* src/qemu/qemu_driver.c (qemudFindCharDevicePTYsMonitor)
(qemudFindCharDevicePTYs, qemuPrepareChardevDevice)
(qemuPrepareMonitorChr, qemudShutdownVMDaemon)
(qemuDomainOpenConsole): Likewise.
* src/qemu/qemu_command.h (qemuBuildChrChardevStr)
(qemuBuildChrArgStr): Delete, now that they are static.
* src/libvirt_private.syms (domain_conf.h): New exports.
* cfg.mk (useless_free_options): Update list.
* tests/qemuxml2argvtest.c (testCompareXMLToArgvFiles): Update
tests.
2011-01-14 09:54:26 -07:00
..
2009-09-10 12:25:42 +01:00
2010-12-17 11:57:11 -07:00
2010-12-17 11:57:11 -07:00
2010-12-01 14:12:54 +01:00
2010-11-09 15:35:43 +01:00
2010-05-20 13:50:03 -04:00
2010-05-20 13:50:03 -04:00
2010-01-19 21:13:03 +01:00
2010-12-23 15:53:55 -05:00
2010-12-23 15:53:55 -05:00
2009-12-14 14:58:23 +01:00
2010-03-08 09:26:04 -05:00
2010-10-07 06:43:35 -04:00
2010-10-07 06:43:35 -04:00
2011-01-13 16:03:11 -07:00
2011-01-11 08:28:54 -07:00
2010-07-28 16:48:00 -04:00
2010-12-17 11:57:11 -07:00
2010-08-19 15:58:43 -06:00
2010-08-19 15:58:43 -06:00
2009-10-16 10:52:27 -04:00
2009-10-16 10:52:27 -04:00
2011-01-06 18:18:35 +01:00
2010-12-17 11:57:11 -07:00
2010-12-17 11:57:11 -07:00
2010-12-17 11:57:11 -07:00
2011-01-06 18:18:35 +01:00
2010-12-02 16:00:44 -07:00
2009-11-26 12:07:17 +00:00
2010-01-15 16:28:05 +00:00
2011-01-06 14:21:17 -07:00
2010-12-21 11:49:49 -07:00
2009-12-15 17:46:04 +01:00
2010-05-12 08:41:10 +02:00
2010-12-01 14:12:54 +01:00
2010-11-03 11:43:11 +01:00
2010-07-28 16:47:59 -04:00
2010-07-28 16:47:56 -04:00
2010-05-20 13:50:03 -04:00
2010-12-21 22:40:17 +01:00
2010-01-15 16:28:05 +00:00
2009-10-07 12:18:13 +02:00
2010-01-15 16:28:05 +00:00
2010-02-10 13:32:48 +00:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2011-01-13 08:11:00 -07:00
2010-01-15 16:28:05 +00:00
2010-02-10 13:31:28 +00:00
2010-01-15 16:28:05 +00:00
2010-02-10 13:32:01 +00:00
2010-12-20 10:31:40 -07:00
2010-04-06 11:09:46 -04:00
2010-11-29 16:35:20 +01:00
2010-04-02 10:18:55 -06:00
2008-05-29 15:21:45 +00:00
2010-12-17 16:41:51 +00:00
2011-01-13 16:03:11 -07:00
2011-01-14 09:54:26 -07:00
2010-11-09 11:46:45 +00:00
2009-02-03 13:08:59 +00:00
2010-09-14 08:42:10 -06:00
2010-05-12 08:41:10 +02:00
2009-12-15 17:46:04 +01:00
2010-04-14 17:34:12 +02:00
2010-07-24 17:15:11 +02:00
2011-01-10 18:10:52 +00:00
2010-10-19 10:06:45 -06:00
2010-10-22 11:59:37 +01:00
2010-05-12 08:41:10 +02:00
2010-10-19 17:31:30 +01:00
2010-01-15 16:28:05 +00:00
2010-08-19 15:58:43 -06:00
2010-01-15 16:28:05 +00:00
2010-02-10 13:32:11 +00:00
2010-01-15 16:28:05 +00:00
2010-03-25 09:28:24 +01:00
2010-11-23 12:15:14 -05:00
2010-09-16 10:45:33 -06:00
2010-12-17 16:41:51 +00:00
2009-07-16 15:06:42 +02:00
2009-07-27 16:45:01 +01:00
2009-07-16 15:06:42 +02:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2010-09-13 13:35:04 +02:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2010-10-15 14:25:39 -06:00
2010-09-30 15:01:36 -06:00
2011-01-06 18:18:35 +01:00
2010-11-16 21:13:29 -05:00
2010-10-19 10:06:45 -06:00
2010-11-22 16:43:29 -05:00
2011-01-06 18:18:35 +01:00