[PATCH] fix detach disk device failed with device not found

2024-04-26 Thread long.yunjian
From: Long YunJian We detach windows disk with libvirt-python api dom.detachDeviceFlags(xmlstr,3), but files in windows disk is opened and busy, and libvirt return success. We found disk not detached actually. so, we close files those opened in windows, and want to detach again. However, we faile

Re: [PATCH] fix detach disk device failed with device not found

2024-04-26 Thread Peter Krempa
On Fri, Apr 26, 2024 at 12:29:05 +0800, long.yunj...@zte.com.cn wrote: > From: Long YunJian > > We detach windows disk with libvirt-python api > dom.detachDeviceFlags(xmlstr,3), > but files in windows disk is opened and busy, and libvirt return success. > We found disk not detached actually. No