[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] whats up with QEMU and virtual disks?

From: Fabrice Bellard
Subject: Re: [Qemu-devel] whats up with QEMU and virtual disks?
Date: Tue, 16 Nov 2004 00:02:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Hetz Ben Hamo wrote:
in both cases, the only way to bypass this problem is by using the
-hdachs parameter..
Why? what has changed that broke the normal behavior? how can it be fixed?

My quick and dirty fix of commenting out the call to bdrv_set_geometry_hint in
line 1898 of hw/ide.c doesn't appear to work anymore with the disk image newly
created with the 0.6.1 version.
However my older disk images, created with previous versions of Qemu, don't
work with 0.6.1 (it says that NTLDR is missing) but, if I comment out the line
as per above, everything goes back to normal behavior.

I see...

Fabrice, since this change breaks compatibility, is there a way to either:

* Add a parameter to load "old" images with the old bdrv_set_geometry_hint

No one gave precise enough information to fix the problem. The problem is related to the default Bochs BIOS tranlation mode, and I would like to understand first before doing a fix.

* Provide a simple script to convert from the old to new format?

If it is the only solution, I can do it, but there may be a better one.

One more thing Fabrice, regarding the message about the RTC. Could you
detect if the user is running 2.6.x kernel and if so, avoid showing
the RTC message please?

I'll try.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]