[libvirt] [PATCH 0/4] vz: use disk bus and target name as disk id
Nikolay Shirokovskiy
nshirokovskiy at virtuozzo.com
Tue Apr 12 06:24:46 UTC 2016
This series is a preparation to implement device update functionality.
In case of disk updates disk bus and disk target name pair is considered
disk id. We already have places in vz driver code where we use disk source
as id. These places are either not critical (see boot patch) or
correct (see detach patch) so we need not to fix them immediately to use more
rubust id. But as this id will be introduced anyway for disk updates
let's move to new id in existing code. This way we have single
id for disks.
Nikolay Shirokovskiy (4):
vz: introduce vzsdk disk id function
vz: fix detach disk to use new disk id
vz: fix boot check to use new disk id
vz: cleanup: remove trivial function
src/vz/vz_sdk.c | 265 +++++++++++++++++++++++++++-----------------------------
1 file changed, 126 insertions(+), 139 deletions(-)
--
1.8.3.1
More information about the libvir-list
mailing list