Bugs item #1967368, was opened at 2008-05-19 13:51
Message generated for change (Comment added) made by alex_williamson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1967368&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: qemu
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Williamson (alex_williamson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Vista w/ CD: diskpart.exe hangs

Initial Comment:
Running KVM-69 on an Intel T2500, Ubuntu 8.04 32 bit base system, Vista 
Enterprise 32 bit SP1 guest.  When I run diskpart.exe from a cmd shell and I 
have a virtual cd inserted, the command hangs indefinitely.  The rest of the VM 
remains usable.  Guest started as:

kvm -hda foo.img -m 512 -net nic,model=e1000 -net user -localtime -cdrom 
WinVista-32.iso

Example scenario:

* Start -> Run... (note you'll need to add this to the start menu in Vista - 
right click, properties, customize...)
* cmd
* diskpart

You'll get some output:

Microsoft DiskPart version 6.0.6001
Copyright <C> 1999-2007 Microsoft Corporation.
On computer: <your computer name>

Then nothing but a blinking cursor.  If you run this without a -cdrom option it 
works.  Also fails using -no-kvm.  Works in VirtualBox OSE and Xen.  Seems to 
be new for Vista, trying the same on XP seems to work.

I ran across this trying to install a system via Ghost, which apparently uses 
this old utility to setup the disk.


----------------------------------------------------------------------

>Comment By: Alex Williamson (alex_williamson)
Date: 2008-07-03 10:11

Message:
Logged In: YES 
user_id=333914
Originator: YES

Fix accepted to QEMU, SVN rev 4831.  Next merge should fix this.

----------------------------------------------------------------------

Comment By: Alex Williamson (alex_williamson)
Date: 2008-05-22 12:22

Message:
Logged In: YES 
user_id=333914
Originator: YES

The referenced patch doesn't help.  I traced the difference between Xen
and KVM to the GPCMD_READ_DVD_STRUCTURE command.  If I #if 0 out the case
and let it fall through to an unsupported operation, diskpart.exe works. 
Adding some debug to this command; media = 0, layer = 0, format = 0,
total_sectors = 0x1643c0 (after the shift).  Let me know if there's more
debugging I can provide, I'm not familiar with ATAPI protocol commands.

----------------------------------------------------------------------

Comment By: Avi Kivity (avik)
Date: 2008-05-21 09:11

Message:
Logged In: YES 
user_id=539971
Originator: NO

Can you add some logging to the ide emulator and post the stream of
commands?  Most likely one of the last few commands is mis-emulated.

Also try http://article.gmane.org/gmane.comp.emulators.qemu/25639 (random
guess).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1967368&group_id=180599
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to