From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: accessing USB disk-on-key from windows (under KVM) Date: Wed, 18 Jul 2007 20:36:44 +0100 Message-ID: <20070718193644.GR15465@redhat.com> References: <469BB64B.7060009@qumranet.com> <469BB814.6050700@codemonkey.ws> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Ian Brown Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Wed, Jul 18, 2007 at 10:32:06PM +0300, Ian Brown wrote: > Hello, > > Thanks, Anthony. > > I tried both #2 and #3. > > It does not say any error, but still I cannot access the USB disk on key. > Maybe I miss something ? > Here are few more details. > > When I ran: > /usr/local/kvm/bin/qemu-system-x86_64 -usbdevice disk:/dev/sdb > /work/kvm/win2003/vdisk.img -m 384 > OR > /usr/local/kvm/bin/qemu-system-x86_64 -hdb /dev/sdb > /work/kvm/win2003/vdisk.img -m 384 > > windows started ok (it did not emit errors, as I said). > > But I expected that clicking on "my computer" (or right clicking and > opening file explorer) will show me the USB storage disk, > and it did not. (I can see there only the hard disk and the CD). IIRC you need to also give the '-usb' arg to actually turn on USB bus emulation, then the -usbdevice args will be used. Regards, Dan, -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/