On 28.03.2016 11:00, Nikolay Shirokovskiy wrote:
From: Mikhail Feoktistov <mfeoktistov(a)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(a)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