From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34497 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZPWf-0003ly-19 for qemu-devel@nongnu.org; Sun, 02 Jan 2011 10:07:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZPWd-0006zc-2T for qemu-devel@nongnu.org; Sun, 02 Jan 2011 10:07:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZPWc-0006zL-S3 for qemu-devel@nongnu.org; Sun, 02 Jan 2011 10:07:15 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p02F7Enf016032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 2 Jan 2011 10:07:14 -0500 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p02F7Dkh002973 for ; Sun, 2 Jan 2011 10:07:13 -0500 Date: Sun, 2 Jan 2011 17:07:12 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] [PATCH 1/2] Add bootindex handling into usb storage device. Message-ID: <20110102150712.GG32688@redhat.com> References: <1293980672-3515-1-git-send-email-gleb@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1293980672-3515-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 Please ignore. Will resend with Signed-off-by. On Sun, Jan 02, 2011 at 05:04:31PM +0200, Gleb Natapov wrote: > --- > 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.