[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCHv2 1/2] Add bootindex handling into usb storage devic
From: |
Gleb Natapov |
Subject: |
[Qemu-devel] [PATCHv2 1/2] Add bootindex handling into usb storage device. |
Date: |
Sun, 30 Jan 2011 12:29:18 +0200 |
Signed-off-by: Gleb Natapov <address@hidden>
---
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 11722c7..d9df4f2 100644
--- a/hw/usb-msd.c
+++ b/hw/usb-msd.c
@@ -532,6 +532,7 @@ static int usb_msd_initfn(USBDevice *dev)
}
}
+ add_boot_device_path(s->conf.bootindex, &dev->qdev, "/address@hidden,0");
return 0;
}
@@ -596,6 +597,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),
.usb_desc = &desc,
.init = usb_msd_initfn,
--
1.7.2.3
- [Qemu-devel] [PATCHv2 1/2] Add bootindex handling into usb storage device.,
Gleb Natapov <=