]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vz: introduce vzsdk disk id function
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Thu, 14 Apr 2016 10:45:03 +0000 (13:45 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Tue, 19 Apr 2016 16:52:36 +0000 (19:52 +0300)
commitbc5f2aab6dc03cefc3083e5c72ef71e639e1bcce
tree0af5b14bea9478fd27d526953e0bbe7ddada9305
parent3583e75d7e68ebf7757ac5b2e318ce47d25ae69c
vz: introduce vzsdk disk id function

Our intention is to use disk bus and disk target name pair
as disk id instead of name returned by PrlVmDev_GetFriendlyName.
We already have the code that extracts this pair from vzsdk
data. Let's factor it out into a function.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
src/vz/vz_sdk.c