OSDN Git Service

qga-win: handle multi-disk volumes
authorTomáš Golembiovský <tgolembi@redhat.com>
Tue, 23 Oct 2018 11:23:21 +0000 (13:23 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 31 Oct 2018 14:04:20 +0000 (09:04 -0500)
commitb1ba8890e63ce9432c41c5c3fc229f54c87c9c99
tree749cf881d22d42a3e45568cf88730397dd55d9ea
parent9e65fd659e1557c294d26a4daa3ae313312bcf68
qga-win: handle multi-disk volumes

Probe the volume for disk extents and return list of all disks.
Originally only first disk of composite volume was returned.

Note that the patch changes get_pci_info() from one state of brokenness
into a different state of brokenness. In other words it still does not do
what it's supposed to do (see comment in code). If anyone knows how to
fix it, please step in.

Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-win32.c