On 2017-11-30 08:47, Vladimir Sementsov-Ogievskiy wrote: > Hi all. > > We need the following option: start vm in stopped mode (-S) and write > it's disk before start through NBD. > It should be absolutely safe, but unfortunately it is disallowed by root > role of the disk. > Is there any workaround or if not, what is a true way to implement this > possibility? > > ---- > error message: > unable to execute QEMU command 'nbd-server-add': Conflicts with use > by drive0 as 'root', which does not allow 'write' on #block100 > > --
One thing that comes to mind is adding the guest device only after you are done with NBD. The other of course is to set share-rw=on for the device. Max
signature.asc
Description: OpenPGP digital signature