qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] export root node for write through NBD


From: Max Reitz
Subject: Re: [Qemu-devel] export root node for write through NBD
Date: Thu, 30 Nov 2017 15:21:47 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]