]> git.ipfire.org Git - thirdparty/libvirt.git/commit
parallels: make device addressing consistent
authorNikolay Shirokovskiy <nshirokovskiy@parallels.com>
Mon, 20 Apr 2015 06:25:00 +0000 (09:25 +0300)
committerDmitry Guryanov <dguryanov@parallels.com>
Mon, 20 Apr 2015 17:02:54 +0000 (20:02 +0300)
commit6b7b677a0ece4e1c52e208949f366d42e3d4acc7
tree1d2ff4f14d6ad98eb74b9c1dde1ff832a6ed8002
parent21f62d60f6fb365f57031a7ca4f260b7c3a18c4d
parallels: make device addressing consistent

In Parallels we do not support device name hints
aka <target dev=../> option and full-fledged device
disk device addressing through
<address type=.. controller=.. bus=.. target=.. unit=../>
and have only one index instead.
In this situation to be consistent we can only take
one-to-one mapping from some reasonable subset
of full address. Values outside this subset are
invalid to create Parallels VMs.

Reasonable mapping is default one defined in virDomainDiskDefAssignAddress.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@parallels.com>
src/parallels/parallels_sdk.c