libvirt/src/qemu
Laine Stump c026f8f1c2 qemu: auto-assign addresses when <address type='pci'/> is specified
Rather than only assigning a PCI address when no address is given at
all, also do it when the config says that the address type is 'pci',
but it gives no address (virDeviceInfoPCIAddressWanted()).

There are also several places after parsing but prior to address
assignment where code previously expected that any info with address
type='pci' would have a *valid* PCI address, which isn't always the
case - now we check not only for type='pci', but also for a valid
address (virDeviceInfoPCIAddressPresent()).

The test case added in this patch was directly copied from Cole's patch titled:

    qemu: Wire up address type=pci auto_allocate
2016-05-20 13:54:26 -04:00
..
EVENTHANDLERS.txt qemu: add short document on qemu event handlers 2014-10-06 13:50:57 -04:00
libvirtd_qemu.aug qemu: add support for sending QEMU stdout/stderr to virtlogd 2015-11-26 14:30:16 +00:00
MIGRATION.txt qemu: Implement migration job phases 2011-07-27 08:45:09 -06:00
qemu_agent.c util: string: Introduce virStringEncodeBase64 2016-05-16 12:58:48 +02:00
qemu_agent.h qemu: change qemuFindAgentConfig return type 2016-01-11 17:17:52 +01:00
qemu_alias.c qemu: Utilize qemu secret objects for RBD auth/secret 2016-05-20 11:09:05 -04:00
qemu_alias.h qemu: Utilize qemu secret objects for RBD auth/secret 2016-05-20 11:09:05 -04:00
qemu_blockjob.c conf: add caps to virDomainObjFormat/SaveStatus 2016-02-05 10:57:08 +00:00
qemu_blockjob.h qemu: Use domain condition for synchronous block jobs 2015-06-19 15:15:10 +02:00
qemu_capabilities.c qemu: Add virQEMUCapsSetGICCapabilities() 2016-05-18 11:27:56 +02:00
qemu_capabilities.h qemu: Add virQEMUCapsSetGICCapabilities() 2016-05-18 11:27:56 +02:00
qemu_capspriv.h qemu: Export caps cache APIs for tests 2016-05-06 10:27:32 +02:00
qemu_cgroup.c qemu_cgroup: allow access to /dev/dri for virtio-vga 2016-05-19 10:52:50 +02:00
qemu_cgroup.h Implement qemuSetupGlobalCpuCgroup 2016-03-01 14:30:11 +00:00
qemu_command.c qemu: Utilize qemu secret objects for RBD auth/secret 2016-05-20 11:09:05 -04:00
qemu_command.h qemu: command: Ignore QEMU_CAPS_DEVICE when building drive alias 2016-05-16 08:59:35 -04:00
qemu_conf.c util: Replace virDomainDiskSourceIsBlockType with a new helper 2016-05-09 12:36:52 +02:00
qemu_conf.h sysconf: Include unistd.h 2015-12-24 18:03:50 +01:00
qemu_domain_address.c qemu: auto-assign addresses when <address type='pci'/> is specified 2016-05-20 13:54:26 -04:00
qemu_domain_address.h qemu: Introduce qemuBuildControllerDevCommandLine 2016-03-11 06:17:06 -05:00
qemu_domain.c qemu: Utilize qemu secret objects for RBD auth/secret 2016-05-20 11:09:05 -04:00
qemu_domain.h secret: Alter virSecretGetSecretString 2016-05-16 12:58:48 +02:00
qemu_driver.c qemu: driver: Fix function header alignment of some functions 2016-05-20 06:51:11 +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: hostdev: Introduce qemuHostdevUpdateActiveDomainDevices() 2015-10-26 13:50:35 +01:00
qemu_hostdev.h qemu: hostdev: Introduce qemuHostdevUpdateActiveDomainDevices() 2015-10-26 13:50:35 +01:00
qemu_hotplug.c Revert "qemu_hotplug: fix checking graphics ports" 2016-05-18 17:16:56 +02:00
qemu_hotplug.h qemu: Introduce qemuDomainSecretHostdevPrepare and Destroy 2016-05-02 06:10:19 -04:00
qemu_hotplugpriv.h qemu: Let tests override waiting time for device unplug 2013-08-26 16:09:55 +02:00
qemu_interface.c util: set vlan tag for macvtap passthrough mode on SRIOV VFs 2016-05-10 14:04:19 -04:00
qemu_interface.h autocreate tap device for ethernet network type 2016-03-23 11:37:59 +00:00
qemu_migration.c graphics: rename gListen to glisten 2016-05-20 10:05:56 +02:00
qemu_migration.h qemu: migration: new migration param for persistent destination XML 2016-04-18 14:45:58 +02:00
qemu_monitor_json.c Remove qemuProcessInitPCIAddresses with dependencies 2016-05-20 07:43:39 +02:00
qemu_monitor_json.h Remove qemuProcessInitPCIAddresses with dependencies 2016-05-20 07:43:39 +02:00
qemu_monitor_text.c Remove qemuProcessInitPCIAddresses with dependencies 2016-05-20 07:43:39 +02:00
qemu_monitor_text.h Remove qemuProcessInitPCIAddresses with dependencies 2016-05-20 07:43:39 +02:00
qemu_monitor.c Remove qemuProcessInitPCIAddresses with dependencies 2016-05-20 07:43:39 +02:00
qemu_monitor.h Remove qemuProcessInitPCIAddresses with dependencies 2016-05-20 07:43:39 +02:00
qemu_parse_command.c qemu: parse: Handle suffixes for -m memory 2016-05-20 08:46:39 -04:00
qemu_parse_command.h qemu: parse: rename qemuCaps->caps 2016-02-19 09:45:23 -05:00
qemu_process.c qemu_process: separate graphics socket and address generation 2016-05-20 10:16:49 +02:00
qemu_process.h graphics: generate fake ports also for tests 2016-05-10 10:44:45 +02:00
qemu_processpriv.h qemu: Export qemuProcessHandleDeviceDeleted for tests 2013-08-26 16:09:55 +02:00
qemu.conf qemu: add support for sending QEMU stdout/stderr to virtlogd 2015-11-26 14:30:16 +00:00
test_libvirtd_qemu.aug.in qemu: add support for sending QEMU stdout/stderr to virtlogd 2015-11-26 14:30:16 +00:00
THREADS.txt There is no virDomainFindBy{ID, Name, UUID} anymore 2015-08-03 13:08:00 +02:00