Received: from eggs.gnu.org ([2001:4830:134:3::10]:51840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKJZ8-0001fY-JT for qemu-devel@nongnu.org; Thu, 30 Nov 2017 02:47:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKJZ4-0001m1-JQ for qemu-devel@nongnu.org; Thu, 30 Nov 2017 02:47:26 -0500 Received: from mail-eopbgr50096.outbound.protection.outlook.com ([40.107.5.96]:50368 helo=EUR03-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eKJZ4-0001ka-6i for qemu-devel@nongnu.org; Thu, 30 Nov 2017 02:47:22 -0500 From: Vladimir Sementsov-Ogievskiy Message-ID: <3c1d9325-56a9-225d-4ff8-230f8ed52fed@virtuozzo.com> Date: Thu, 30 Nov 2017 10:47:12 +0300 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] export root node for write through NBD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Kevin Wolf , Max Reitz , Eric Blake , Paolo Bonzini , "Denis V. Lunev" , Nikolay Shirokovskiy 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 -- Best regards, Vladimir