libvirt/src/qemu
Scott Garfinkle a7bc2c8cfd Generate unique socket file
It's possible to have more than one unnamed virtio-serial unix channel.
We need to generate a unique name for each channel. Currently, we use
".../unknown.sock" for all of them. Better practice would be to specify
an explicit target path name; however, in the absence of that, we need
uniqueness in the names we generate internally.

Before the changes we'd get /var/lib/libvirt/qemu/channel/target/unknown.sock
for each instance of
    <channel type='unix'>
        <source mode='bind'/>
        <target type='virtio'/>
    </channel>

Now, we get vioser-00-00-01.sock, vioser-00-00-02.sock, etc.

Signed-off-by: Scott Garfinkle <seg@us.ibm.com>
2017-07-25 22:38:35 +02:00
..
EVENTHANDLERS.txt qemu/doc: Fix function name for handling events 2017-06-13 09:43:42 +02:00
libvirtd_qemu.aug conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c Fix minor typos 2017-04-24 14:40:00 +02:00
qemu_agent.h qemu: agent: Make setting of vcpus more robust 2016-06-22 09:26:08 +02:00
qemu_alias.c qemu: refactor qemuDomainMachine* functions 2017-04-18 13:27:11 +02:00
qemu_alias.h qemu: Rename qemuAliasTLSObjFromChardevAlias 2017-02-22 06:31:40 -05:00
qemu_block.c virStorageNetHostDef: Turn @port into integer 2017-07-24 10:55:44 +02:00
qemu_block.h qemu: block: Refactor and rename qemuGetDriveSourceProps 2017-07-14 16:05:46 +02:00
qemu_blockjob.c qemu: take current async job into account in qemuBlockNodeNamesDetect 2017-04-27 14:38:29 +02:00
qemu_blockjob.h qemu: take current async job into account in qemuBlockNodeNamesDetect 2017-04-27 14:38:29 +02:00
qemu_capabilities.c qemu_capabilities: Fix the formatting with a space 2017-07-24 15:09:47 +02:00
qemu_capabilities.h qemu_capabilities: Honour caps values formatting 2017-07-22 10:30:19 +02:00
qemu_capspriv.h qemu: separate virQEMUCapsInitCached out of virQEMUCapsNewForBinaryInternal 2017-07-20 14:02:53 +02:00
qemu_cgroup.c Move machineName generation from virsystemd into domain_conf 2017-07-25 17:02:27 +02:00
qemu_cgroup.h qemu: Allow nvdimm in devices CGroups 2017-03-15 16:55:30 +01:00
qemu_command.c conf: Rename virDomainControllerIsPCIHostBridge() to IsPSeriesPHB() 2017-07-25 09:42:38 +02:00
qemu_command.h qemu: Allow qemuBuildControllerDevStr() to return NULL 2017-07-15 14:50:42 +02:00
qemu_conf.c qemu: Add AAVMF32 to the list of known UEFIs 2017-07-21 14:36:54 -04:00
qemu_conf.h conf: Introduce migrate_tls_x509_cert_dir 2017-03-25 08:19:49 -04:00
qemu_domain_address.c conf: Rename virDomainControllerIsPCIHostBridge() to IsPSeriesPHB() 2017-07-25 09:42:38 +02:00
qemu_domain_address.h qemu: Isolate hostdevs on pSeries guests 2017-07-18 09:00:13 +02:00
qemu_domain.c Generate unique socket file 2017-07-25 22:38:35 +02:00
qemu_domain.h Move machineName generation from virsystemd into domain_conf 2017-07-25 17:02:27 +02:00
qemu_driver.c qemu: Save qemu driver in qemuDomainObjPrivateData 2017-07-25 17:02:27 +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 qemu: Fix mdev checking for VFIO support 2017-04-12 12:57:39 +02:00
qemu_hostdev.h hostdev: Maintain a driver list of active mediated devices 2017-03-27 15:39:35 +02:00
qemu_hotplug.c Handle hotplug change on VLAN configuration using OVS 2017-07-20 15:15:03 +02:00
qemu_hotplug.h qemu: hotplug: Unexport qemuDomainHotplugDelVcpu 2017-04-20 10:46:44 +02:00
qemu_hotplugpriv.h qemu: Let tests override waiting time for device unplug 2013-08-26 16:09:55 +02:00
qemu_interface.c Revert "qemu: propagate bridge MTU into qemu "host_mtu" option" 2017-05-22 12:57:34 -04:00
qemu_interface.h Revert "qemu: propagate bridge MTU into qemu "host_mtu" option" 2017-05-22 12:57:34 -04:00
qemu_migration_cookie.c qemu: Send updated CPU in migration cookie 2017-06-07 13:36:02 +02:00
qemu_migration_cookie.h qemu: Send updated CPU in migration cookie 2017-06-07 13:36:02 +02:00
qemu_migration.c qemu: shared disks with cache=directsync should be safe for migration 2017-07-20 10:17:18 +01:00
qemu_migration.h qemu: Simplify qemuMigrationResetTLS 2017-04-07 13:43:37 +02:00
qemu_monitor_json.c qemu: handle missing bind host/service on chardev hotplug 2017-07-11 15:18:31 +02:00
qemu_monitor_json.h qemu: Check migratable host CPU features 2017-03-30 09:59:42 +02:00
qemu_monitor_text.c qemuMonitorTextAddDrive: Fail on unrecognized disk format 2017-06-25 16:22:40 +02:00
qemu_monitor_text.h qemu: monitor: Return struct from qemuMonitor(Text|Json)QueryCPUs 2016-08-24 15:44:47 -04:00
qemu_monitor.c qemu: domain: Use vcpu 'node-id' property and pass it back to qemu 2017-07-10 13:23:04 +02:00
qemu_monitor.h qemu: domain: Use vcpu 'node-id' property and pass it back to qemu 2017-07-10 13:23:04 +02:00
qemu_parse_command.c virStorageNetHostDef: Turn @port into integer 2017-07-24 10:55:44 +02:00
qemu_parse_command.h qemu: parse: rename qemuCaps->caps 2016-02-19 09:45:23 -05:00
qemu_process.c Move machineName generation from virsystemd into domain_conf 2017-07-25 17:02:27 +02:00
qemu_process.h qemuDomainAttachMemory: Crate hugepage dir if needed 2017-06-13 16:39:39 +02:00
qemu_processpriv.h qemu: Export qemuProcessHandleDeviceDeleted for tests 2013-08-26 16:09:55 +02:00
qemu_security.c security: don't relabel chardev source if virtlogd is used as stdio handler 2017-06-16 16:00:10 +02:00
qemu_security.h qemu_hotplug: Relabel memdev 2017-03-15 16:55:23 +01:00
qemu.conf qemu: Add AAVMF32 to the list of known UEFIs 2017-07-21 14:36:54 -04:00
test_libvirtd_qemu.aug.in qemu: Add AAVMF32 to the list of known UEFIs 2017-07-21 14:36:54 -04:00
THREADS.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00