
14 Apr
2016
14 Apr
'16
11:02 a.m.
On 28.03.2016 11:00, Nikolay Shirokovskiy wrote:
From: Mikhail Feoktistov <mfeoktistov@virtuozzo.com>
SDK handles empty cdroms all right. We just need to pass "" instead of NULL (not setting is good too).
However we can get problems here. Disk detaching treats source as ids. Fortunately disk detaching is not supported for cdroms yet and for hard disks we can not get empty source - this is prohibitited by xml parsing code.
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com> --- src/vz/vz_sdk.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
Please drop this patch from the series. I sent a new version as a standalone patch. Nikolay