[libvirt] [PATCH REBASE 2/4] vz: fix detach disk to use new disk id

Maxim Nestratov mnestratov at virtuozzo.com
Tue Apr 19 08:41:14 UTC 2016


14.04.2016 13:45, Nikolay Shirokovskiy пишет:

> Actually using disk PrlVmDev_GetFriendlyName as id on
> detaching volumes is not a problem. We can only detach
> hard disks and these can not have empty friendly names.
> But upcoming update device functionality for cdroms
> can not use disk source as id at all as update operation
> typically change this same source value. Thus we will need
> to use cdrom bus and cdrom target name as cdrom id. So in attempt
> to use same id scheme for all purpuses lets fix hard disk
> detach function to use new id.
>
> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>
> ---
>   src/vz/vz_sdk.c | 106 ++++++++++++++++++++++++++++++--------------------------
>   1 file changed, 56 insertions(+), 50 deletions(-)

ACK




More information about the libvir-list mailing list