From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNFo9-0006jY-Al for guix-patches@gnu.org; Fri, 08 Dec 2017 05:23:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNFo6-0004Ps-7C for guix-patches@gnu.org; Fri, 08 Dec 2017 05:23:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42712) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNFo6-0004Po-3K for guix-patches@gnu.org; Fri, 08 Dec 2017 05:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eNFo5-0000tN-NX for guix-patches@gnu.org; Fri, 08 Dec 2017 05:23:01 -0500 Subject: [bug#29409] [PATCH] build: vm: Use qemu drive device parameter. Resent-Message-ID: References: <877euhtjkj.fsf@gmail.com> <1512408912-21174-1-git-send-email-m.othacehe@gmail.com> <87d13p36fq.fsf@gnu.org> From: Mathieu Othacehe In-reply-to: <87d13p36fq.fsf@gnu.org> Date: Fri, 08 Dec 2017 11:22:33 +0100 Message-ID: <87h8t1wmc6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29409@debbugs.gnu.org Hey Ludo, > Is there a difference between ‘virtio’ and ‘virtio-blk’? > > If confess I always have a hard time parsing QEMU’s command-line > options, but as long as it still works, it LGTM. :-) Yes I had a hard time finding a command-line working both on intel and arm systems. if=virtio === -device virtio-blk-pci,drive=DRIVE-ID,class=C,vectors=V,ioeventfd=IOEVENTFD according to : https://github.com/qemu/qemu/blob/master/docs/qdev-device-use.txt I submitted an updated version of this patch in the same serie. It adds "format=xxx" parameter to avoid this kind of warnings : --8<---------------cut here---------------start------------->8--- WARNING: Image format was not specified for ... and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu