From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJRfB-0004qG-Ut for qemu-devel@nongnu.org; Thu, 27 Oct 2011 11:14:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJRf8-0003I6-5A for qemu-devel@nongnu.org; Thu, 27 Oct 2011 11:14:37 -0400 Received: from mail-qy0-f173.google.com ([209.85.216.173]:55475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJRf8-0003I0-2X for qemu-devel@nongnu.org; Thu, 27 Oct 2011 11:14:34 -0400 Received: by qyk10 with SMTP id 10so1315442qyk.4 for ; Thu, 27 Oct 2011 08:14:33 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4EA97552.6000106@redhat.com> Date: Thu, 27 Oct 2011 17:14:26 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <5655D9ED6883464892A9F66AC561F61F07E1AC5628@DEWDFECCR07.wdf.sap.corp> In-Reply-To: <5655D9ED6883464892A9F66AC561F61F07E1AC5628@DEWDFECCR07.wdf.sap.corp> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] Assigning a new virtio block device (-drive) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Leib, David" Cc: "qemu-devel@nongnu.org" On 10/27/2011 02:47 PM, Leib, David wrote: > and insert the same data like the normal virtio block device > (“file=/dev/sr0” and “if=virtio”) in qemu_config.c. I'm not sure what you are doing wrong exactly, but try using if=none and creating the device separately with -device. You shouldn't need the new "ablock" QemuOpts. Paolo