Alex Williamson wrote:
I believe this fixes bug 1967368.  Windows Vista hangs if you try to run
diskpart.exe with a DVD image loaded.  This does not occur on Xen
because their version of Qemu doesn't try to emulate the
GPCMD_READ_DVD_STRUCTURE command.  If I comment out the version in KVM,
diskpart.exe works.  Digging through the versions of the MMC-6 spec I
can find online, I believe the problem is that we're ignoring the
allocation length field.  This specifies the maximum number of bytes
that may be returned by the drive.  Instead we're returning the maximum
possible table size each time.  I also found that we seem to be using
the wrong field for the format request.  Byte 2 is MSB of the address
field, we want byte 7.  I also added a few missing comments for the
fields as we fill them in.  I've only tested this with Vista since it's
the only thing that I know using this command.  Thanks,

This seems to fix a bug in upstream qemu, so the preferred path for this is to post the patch on qemu-devel, and kvm will get it on the next merge.


--
error compiling committee.c: too many arguments to function

--
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