libvirt/src/qemu
Viktor Mihajlovski 1a82e01c97 qemu: Shorten SCSI hostdev alias to avoid QEMU failure
The alias for hostdevs of type SCSI can be too long for QEMU if
larger LUNs are encountered. Here's a real life example:

    <hostdev mode='subsystem' type='scsi' managed='no'>
      <source>
        <adapter name='scsi_host0'/>
        <address bus='0' target='19' unit='1088634913'/>
      </source>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </hostdev>

this results in a too long drive id, resulting in QEMU yelling

Property 'scsi-generic.drive' can't find value 'drive-hostdev-scsi_host0-0-19-1088634913'

This commit changes the alias back to the default hostdev$(index)
scheme.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
2013-07-22 13:16:29 +02:00
..
libvirtd_qemu.aug qemu: Add VNC WebSocket support 2013-05-15 09:48:05 +02:00
MIGRATION.txt qemu: Implement migration job phases 2011-07-27 08:45:09 -06:00
qemu_agent.c qemu: Fix double free of returned JSON array in qemuAgentGetVCPUs() 2013-07-16 16:51:36 +02:00
qemu_agent.h qemu_agent: Introduce helpers for agent based CPU hot(un)plug 2013-06-07 15:58:24 +02:00
qemu_bridge_filter.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
qemu_bridge_filter.h Replace 'struct qemud_driver *' with virQEMUDriverPtr 2012-11-28 18:17:25 +00:00
qemu_capabilities.c qemu: Add support for DEVICE_DELETED event 2013-07-18 15:28:45 +02:00
qemu_capabilities.h qemu: Add support for DEVICE_DELETED event 2013-07-18 15:28:45 +02:00
qemu_cgroup.c qemu: Cleanup coding style nits in qemu_cgroup.c 2013-07-18 14:58:12 +02:00
qemu_cgroup.h qemu: put usb cgroup setup in common function 2013-04-29 21:52:28 -04:00
qemu_command.c qemu: Shorten SCSI hostdev alias to avoid QEMU failure 2013-07-22 13:16:29 +02:00
qemu_command.h qemu: Add qemuDomainReleaseDeviceAddress to remove any address 2013-07-16 20:29:04 +02:00
qemu_conf.c qemu: Move close callbacks handling into util/virclosecallbacks.c 2013-07-18 14:16:53 +02:00
qemu_conf.h qemu: Move close callbacks handling into util/virclosecallbacks.c 2013-07-18 14:16:53 +02:00
qemu_domain.c qemu: Unplug devices that disappeared when libvirtd was down 2013-07-19 18:45:48 +02:00
qemu_domain.h qemu: Unplug devices that disappeared when libvirtd was down 2013-07-19 18:45:48 +02:00
qemu_driver.c qemu: Unplug devices that disappeared when libvirtd was down 2013-07-19 18:45:48 +02:00
qemu_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
qemu_hostdev.c pci: make virPCIDeviceReset more autonomous 2013-07-15 10:43:03 -04:00
qemu_hostdev.h qemu: Introduce activeScsiHostdevs list for scsi host devices 2013-05-13 21:26:06 +08:00
qemu_hotplug.c qemu: Emit VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED events 2013-07-18 15:28:45 +02:00
qemu_hotplug.h qemu: Remove devices only after DEVICE_DELETED event 2013-07-18 15:28:45 +02:00
qemu_migration.c qemu: Move close callbacks handling into util/virclosecallbacks.c 2013-07-18 14:16:53 +02:00
qemu_migration.h qemu: Move close callbacks handling into util/virclosecallbacks.c 2013-07-18 14:16:53 +02:00
qemu_monitor_json.c qemu: Introduce qemuMonitorGetDeviceAliases 2013-07-19 18:45:47 +02:00
qemu_monitor_json.h qemu: Introduce qemuMonitorGetDeviceAliases 2013-07-19 18:45:47 +02:00
qemu_monitor_text.c Convert 'int i' to 'size_t i' in src/qemu files 2013-07-10 17:55:15 +01:00
qemu_monitor_text.h qemu: Use bool instead of int in qemuMonitorSetCPU APIs 2013-06-07 15:57:03 +02:00
qemu_monitor.c qemu: Introduce qemuMonitorGetDeviceAliases 2013-07-19 18:45:47 +02:00
qemu_monitor.h qemu: Introduce qemuMonitorGetDeviceAliases 2013-07-19 18:45:47 +02:00
qemu_process.c qemu: Unplug devices that disappeared when libvirtd was down 2013-07-19 18:45:48 +02:00
qemu_process.h qemu: expose qemuProcessShutdownOrReboot() 2013-07-02 12:02:27 -06:00
qemu.conf qemu: Add VNC WebSocket support 2013-05-15 09:48:05 +02:00
test_libvirtd_qemu.aug.in qemu: Add VNC WebSocket support 2013-05-15 09:48:05 +02:00
THREADS.txt Remove qemuDriverLock from almost everywhere 2013-02-13 11:10:30 +00:00