From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56151 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pi501-0001AI-Pw for qemu-devel@nongnu.org; Wed, 26 Jan 2011 08:01:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pi500-0006TQ-Uq for qemu-devel@nongnu.org; Wed, 26 Jan 2011 08:01:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pi500-0006Sv-Ne for qemu-devel@nongnu.org; Wed, 26 Jan 2011 08:01:24 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0QD1NEN030945 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 26 Jan 2011 08:01:23 -0500 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p0QD1Mvq032348 for ; Wed, 26 Jan 2011 08:01:22 -0500 Date: Wed, 26 Jan 2011 15:01:21 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] [PATCH 1/2] Add bootindex handling into usb storage device. Message-ID: <20110126130121.GP14750@redhat.com> References: <1293980851-3743-1-git-send-email-gleb@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1293980851-3743-1-git-send-email-gleb@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ping? On Sun, Jan 02, 2011 at 05:07:30PM +0200, Gleb Natapov wrote: > > Signed-off-by: Gleb Natapov > --- > hw/usb-msd.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/hw/usb-msd.c b/hw/usb-msd.c > index 0a95d8d..46642a8 100644 > --- a/hw/usb-msd.c > +++ b/hw/usb-msd.c > @@ -560,6 +560,7 @@ static int usb_msd_initfn(USBDevice *dev) > } > } > > + add_boot_device_path(s->conf.bootindex, &dev->qdev, "/disk@0,0"); > return 0; > } > > @@ -624,6 +625,7 @@ static USBDevice *usb_msd_init(const char *filename) > static struct USBDeviceInfo msd_info = { > .product_desc = "QEMU USB MSD", > .qdev.name = "usb-storage", > + .qdev.fw_name = "storage", > .qdev.size = sizeof(MSDState), > .init = usb_msd_initfn, > .handle_packet = usb_generic_handle_packet, > -- > 1.7.2.3 > -- Gleb.