libvirt/src/qemu
John Ferlan 63a368012d qemu: Fix bus and lun checks when scsi-disk.channel not present
Found by Laine and discussed a bit on internal IRC.

Commit id c56fe7f1d6 added support for creating a command line to support
scsi-disk.channel.

Series was here:
http://www.redhat.com/archives/libvir-list/2012-February/msg01052.html

Which pointed to a design proposal here:
http://permalink.gmane.org/gmane.comp.emulators.libvirt/50428

Which states (in part):

Libvirt should check for the QEMU "scsi-disk.channel" property.  If it
is unavailable, QEMU will only support channel=lun=0 and 0<=target<=7.

However, the check added was ensuring that bus != lun *and* bus != 0. So
if bus == lun and both were non zero, we'd never make the second check.
Changing this to an *or* check fixes the check, but still is less readable
than the just checking each for 0
2015-04-30 16:21:38 -04:00
..
EVENTHANDLERS.txt qemu: add short document on qemu event handlers 2014-10-06 13:50:57 -04:00
libvirtd_qemu.aug qemu: Automatically create NVRAM store 2014-09-10 09:38:07 +02:00
MIGRATION.txt
qemu_agent.c qemu: agent: Reuse virJSONValueObjectCreateVArgs in qemuAgentMakeCommand 2015-04-26 17:19:22 +02:00
qemu_agent.h domifaddr: Implement the API for qemu 2015-03-17 15:15:38 +00:00
qemu_blockjob.c qemuBlockJobSync*: introduce sync block job helpers 2015-04-29 13:11:42 +02:00
qemu_blockjob.h qemuBlockJobSync*: introduce sync block job helpers 2015-04-29 13:11:42 +02:00
qemu_capabilities.c Introduce virDomainObjEndAPI 2015-04-24 13:22:45 +02:00
qemu_capabilities.h qemu: caps: Add capability bit for the "pc-dimm" device 2015-02-20 19:25:09 +01:00
qemu_cgroup.c Move iothreadspin information into iothreadids 2015-04-27 12:36:35 -04:00
qemu_cgroup.h qemu: cgroup: Kill qemuSetupCgroupVcpuPin() 2015-04-02 10:12:08 +02:00
qemu_command.c qemu: Fix bus and lun checks when scsi-disk.channel not present 2015-04-30 16:21:38 -04:00
qemu_command.h qemu: command: Validate that memory devices slot ID is in range 2015-04-29 09:40:16 +02:00
qemu_conf.c qemu: Build nvram directory at driver startup 2015-04-24 10:30:42 -04:00
qemu_conf.h qemu: Build nvram directory at driver startup 2015-04-24 10:30:42 -04:00
qemu_domain.c qemu: Use domain iothreadids to IOThread's 'thread_id' 2015-04-27 12:36:35 -04:00
qemu_domain.h qemu: Use domain iothreadids to IOThread's 'thread_id' 2015-04-27 12:36:35 -04:00
qemu_driver.c qemu: blockjob: Call qemuDomainSupportsBlockJobs only on online VMs 2015-04-30 16:46:42 +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 qemu: Validate available slot count for memory devices 2015-04-29 09:40:16 +02:00
qemu_hotplug.h qemu: Implement memory device hotunplug 2015-03-23 14:41:14 +01:00
qemu_hotplugpriv.h qemu: Let tests override waiting time for device unplug 2013-08-26 16:09:55 +02:00
qemu_interface.c qemu: set macvtap physdevs online when macvtap is set online 2015-04-21 12:34:29 -04:00
qemu_interface.h qemu: add a qemuInterfaceStopDevices(), called when guest CPUs stop 2014-12-13 22:20:28 -05:00
qemu_migration.c qemu: migration: use sync block job helpers 2015-04-29 13:11:42 +02:00
qemu_migration.h qemu: completely rework reference counting 2014-12-21 10:48:56 +01:00
qemu_monitor_json.c qemu: Remove need for qemuMonitorIOThreadInfoFree 2015-04-28 06:33:49 -04:00
qemu_monitor_json.h qemu: blockPull: Refactor the rest of qemuDomainBlockJobImpl 2015-04-14 10:00:56 +02:00
qemu_monitor_text.c Remove unused macros 2015-04-02 10:27:56 +02:00
qemu_monitor_text.h qemu: monitor: Kill qemuMonitorGetBlockStats(Info,ParamsNumber) 2015-03-11 11:28:04 +01:00
qemu_monitor.c qemu: make qemuMonitorChardevInfoFree non-static 2015-04-28 16:50:11 +02:00
qemu_monitor.h qemu: make qemuMonitorChardevInfoFree non-static 2015-04-28 16:50:11 +02:00
qemu_process.c qemuProcessStop: wake up pending sync block jobs 2015-04-29 13:11:42 +02:00
qemu_process.h qemu: Connect to guest agent after channel hotplug 2015-04-26 17:19:22 +02:00
qemu_processpriv.h qemu: Export qemuProcessHandleDeviceDeleted for tests 2013-08-26 16:09:55 +02:00
qemu.conf qemu: Add AAVMF to the list of known UEFIs 2015-01-29 15:20:47 +01:00
test_libvirtd_qemu.aug.in qemu: Add AAVMF to the list of known UEFIs 2015-01-29 15:20:47 +01:00
THREADS.txt Introduce virDomainObjEndAPI 2015-04-24 13:22:45 +02:00