libvirt/src/qemu
Ján Tomko b02fca79e8 check for cfg->spiceTLS earlier in qemuProcessSPICEAllocatePorts
This saves a few lines of code and catches the error when:
<spice autoport ='yes' defaultMode='any' ..>
  <channel name='main' mode='secure'/>
</spice>
is specified with spice_tls = 0 in qemu.conf.

Instead of this error in qemuBuildGraphicsSPICECommandLine:
error: unsupported configuration: spice secure channels set in XML
configuration, but TLS port is not provided

an error is reported in qemuProcessSPICEAllocatePorts:
error: unsupported configuration: Auto allocation of spice TLS port
requested but spice TLS is disabled in qemu.conf

Inspired by:
https://www.redhat.com/archives/libvir-list/2014-June/msg01408.html
2014-07-10 09:47:20 +02:00
..
libvirtd_qemu.aug migration: add support for migrateURI configuration 2014-05-20 13:13:29 +02:00
MIGRATION.txt qemu: Implement migration job phases 2011-07-27 08:45:09 -06:00
qemu_agent.c avoid 'sync' as variable name 2014-05-19 18:40:02 +02:00
qemu_agent.h qemu: Implement virDomain{Get,Set}Time 2014-05-15 16:44:45 +02:00
qemu_capabilities.c qemu: caps: Add capability for change-backing-file command 2014-07-04 13:00:16 +02:00
qemu_capabilities.h qemu: caps: Add capability for change-backing-file command 2014-07-04 13:00:16 +02:00
qemu_cgroup.c qemu: don't error out when cgroups don't exist 2014-07-09 15:09:54 +02:00
qemu_cgroup.h qemu: cgroup: Add functions to set cgroup image stuff on individual imgs 2014-07-09 10:38:55 +02:00
qemu_command.c qemu: raise an eror when using aio=native without cache=none 2014-07-08 15:27:10 -06:00
qemu_command.h Split out CCW address allocation 2014-06-21 10:12:21 +02:00
qemu_conf.c storage: Move readonly and shared flags to disk source from disk def 2014-07-08 14:27:19 +02:00
qemu_conf.h migration: add support for migrateURI configuration 2014-05-20 13:13:29 +02:00
qemu_domain.c qemu: Add helper to initialize storage file backend with correct uid/gid 2014-07-08 14:27:19 +02:00
qemu_domain.h qemu: Add helper to initialize storage file backend with correct uid/gid 2014-07-08 14:27:19 +02:00
qemu_driver.c qemu: fix domxml-to-native failing when spice_tls is not enabled 2014-07-09 12:29:55 +02:00
qemu_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
qemu_hostdev.c drivers: use virDirRead API 2014-04-28 17:52:45 -06:00
qemu_hostdev.h Capitalize USB, PCI and SCSI in hostdev methods 2014-03-12 16:20:01 +00:00
qemu_hotplug.c audit: Add auditing for serial/parallel/channel/console character devs 2014-07-07 12:56:45 +02:00
qemu_hotplug.h qemu: enum cleanups in "src/qemu/*" 2014-06-24 12:56:54 -06:00
qemu_hotplugpriv.h qemu: Let tests override waiting time for device unplug 2013-08-26 16:09:55 +02:00
qemu_migration.c storage: Move readonly and shared flags to disk source from disk def 2014-07-08 14:27:19 +02:00
qemu_migration.h qemu: enum cleanups in "src/qemu/*" 2014-06-24 12:56:54 -06:00
qemu_monitor_json.c qemu: monitor: Add support for backing name specification for block-stream 2014-07-04 13:00:17 +02:00
qemu_monitor_json.h qemu: monitor: Add support for backing name specification for block-stream 2014-07-04 13:00:17 +02:00
qemu_monitor_text.c Use virBufferCheckError everywhere we report OOM error 2014-07-03 10:48:14 +02:00
qemu_monitor_text.h conf: more enum cleanups in "src/conf/domain_conf.h" 2014-06-02 15:32:58 -06:00
qemu_monitor.c qemu: monitor: Add support for backing name specification for block-stream 2014-07-04 13:00:17 +02:00
qemu_monitor.h qemu: monitor: Add support for backing name specification for block-stream 2014-07-04 13:00:17 +02:00
qemu_process.c check for cfg->spiceTLS earlier in qemuProcessSPICEAllocatePorts 2014-07-10 09:47:20 +02:00
qemu_process.h qemu: enum cleanups in "src/qemu/*" 2014-06-24 12:56:54 -06:00
qemu_processpriv.h qemu: Export qemuProcessHandleDeviceDeleted for tests 2013-08-26 16:09:55 +02:00
qemu.conf migration: add support for migrateURI configuration 2014-05-20 13:13:29 +02:00
test_libvirtd_qemu.aug.in migration: add support for migrateURI configuration 2014-05-20 13:13:29 +02:00
THREADS.txt Remove qemuDriverLock from almost everywhere 2013-02-13 11:10:30 +00:00