vmwarevga doesn't work: "get_dirty_pages returned -2"
hi,
I tried using the -vmwarevga switch but I didn't succeed. I've tested it with kvm-snapshot-20080218, kvm-60 and kvm-61.
as soon as the VM (guest os is windows xp) switches from text mode to graphics mode lots of messages "kvm: get_dirty_pages returned -2" scroll by on the console. after a while (but still while boot up) the VM crashes with stop error (blue screen) 0xEA (and says that something might be wrong with framebuf).
if I start the VM with -no-kvm I don't see those messages in the console. the guest os boots up, but crashes quite soon with a stop error (blue screen) 0x7F.
my CPU is an intel core 2 duo (mobile).
uname -a output:
Linux nbwina2.local 2.6.23.15-80.fc7 #1 SMP Sun Feb 10 17:29:10 EST 2008 i686 i686 i386 GNU/Linux
i start the VM with the following command:
su -c '/usr/local/kvm-61/bin/qemu-system-x86_64 ~/vm/xp.qcow2 -m 1024 -k de -usb -localtime [-vmwarevga]'
does -vmwarevga work for anyone (with windows as guest os)? what information do you need to track down the issue?
btw: the -vmwarevga switch should be added to the usage output of qemu.
bye,
Andi
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Quoted 12 lines · Andreas Winkelbauer
hi,
I tried using the -vmwarevga switch but I didn't succeed. I've tested it with kvm-snapshot-20080218, kvm-60 and kvm-61.
as soon as the VM (guest os is windows xp) switches from text mode to graphics mode lots of messages "kvm:
get_dirty_pagesreturned -2" scroll by on the console. after a while (but still while boot up) the VM crashes with stop error (blue screen)0xEA(and says that something might be wrong with framebuf).
I guess it needs the same treatment as cirrus and stdvga (register the framebuffer with kvm as a memory slot).
Quoted 10 lines
if I start the VM with -no-kvm I don't see those messages in the console. the guest os boots up, but crashes quite soon with a stop error (blue screen)
0x7F.my CPU is an intel core 2 duo (mobile).
uname -a output:
Linux nbwina2.local 2.6.23.15-80.fc7 #1 SMP Sun Feb 10 17:29:10 EST 2008 i686 i686 i386 GNU/Linux
Quoted 8 lines
i start the VM with the following command:
su -c '/usr/local/kvm-61/bin/qemu-system-x86_64~/vm/xp.qcow2 -m 1024 -k de -usb -localtime [-vmwarevga]'does -vmwarevga work for anyone (with windows as guest os)? what information do you need to track down the issue?
Most likely it only works with Linux; it was probably written by reverse-engineering the Linux driver.
Signature · 7 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Quoted 36 lines · Avi Kivity
Quoted 6 lines · Andreas Winkelbauer
hi,
I tried using the -vmwarevga switch but I didn't succeed. I've tested it
with kvm-snapshot-20080218, kvm-60 and kvm-61.Quoted 8 lines
as soon as the VM (guest os is windows xp) switches from text mode to graphics mode lots of messages "kvm:
get_dirty_pagesreturned -2" scroll
by on the console. after a while (but still while boot up) the VM crashes with stop error (blue screen)0xEA(and says that something might be wrong with framebuf).I guess it needs the same treatment as cirrus and stdvga (register the framebuffer with kvm as a memory slot).
Quoted 17 lines
if I start the VM with -no-kvm I don't see those messages in the console. the guest os boots up, but crashes quite soon with a stop error
(blue screen)0x7F.my CPU is an intel core 2 duo (mobile).
uname -a output:
Linux nbwina2.local 2.6.23.15-80.fc7 #1 SMP Sun Feb 10 17:29:10 EST 2008
i686 i686 i386 GNU/Linuxi start the VM with the following command:
su -c '/usr/local/kvm-61/bin/qemu-system-x86_64~/vm/xp.qcow2 -m 1024 -k
de -usb -localtime [-vmwarevga]'
Quoted 7 lines
Quoted 4 lines
does -vmwarevga work for anyone (with windows as guest os)? what information do you need to track down the issue?
Most likely it only works with Linux; it was probably written by reverse-engineering the Linux driver.
When the patch was committed to qemu, the author actually said it worked with Windows too. He was quite surprised as well, as all he did was taking the OSS Linux driver and build the hardware spec from that. So my guess would be, that Linux targets with vmware vga should be broken too.
Quoted 14 lines
Signature · 12 lines
-- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Quoted 7 lines · Alexander Graf
Quoted 2 lines · Avi Kivity
I guess it needs the same treatment as cirrus and stdvga (register the framebuffer with kvm as a memory slot).
So my guess would be, that Linux targets with vmware vga should be broken too.
I just tested this now since it only took a few seconds, and it does indeed fail the same way.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
hi,
Quoted 2 lines
Most likely it only works with Linux; it was probably written by reverse-engineering the Linux driver.
actually -vmwarevga works for me when using pure qemu (latest cvs snapshot) without kqemu (-no-kqemu), but it does not work with kvm when using -no-kvm.
anyway, I was testing -vmwarevga because I want to be able to use the native resolution of my display. so -vmwarevga is obsolete for me if it is working with -std-vga because then there is no need to load a proprietary driver inside the guest os.
cheers,
Andi
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Quoted 5 lines · Andreas Winkelbauer
Quoted 2 lines
Most likely it only works with Linux; it was probably written by reverse-engineering the Linux driver.
actually -vmwarevga works for me when using pure qemu (latest cvs snapshot) without kqemu (-no-kqemu), but it does not work with kvm when using -no-kvm.
This is a known issue. I've sent a patch to this list (twice, actually) that fixes it, but for some reason, it hasn't been applied. Search for posts from me with "vga" or something in the subject.
Signature · 4 lines
Soren Hansen Virtualisation specialist Ubuntu Server Team http://www.ubuntu.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
Quoted 5 lines · Soren Hansen
Quoted 3 lines · Andreas Winkelbauer
Quoted 3 lines
Most likely it only works with Linux; it was probably written by reverse-engineering the Linux driver.
Quoted 10 lines
Quoted 4 lines
actually -vmwarevga works for me when using pure qemu (latest cvs snapshot) without kqemu (-no-kqemu), but it does not work with kvm when using -no-kvm.
This is a known issue. I've sent a patch to this list (twice, actually) that fixes it, but for some reason, it hasn't been applied. Search for posts from me with "vga" or something in the subject.
I did provide feedback last time:
Quoted 3 lines
The changes to
last_ch_attr,map_addr, etc. are gratuitous and will cause merge conflicts in the future. Please change only the relevant lines.
You probably didn't see it, since you have Mail-Followup-To: set to kvm-devel instead of yourself. Adding you explicitly this time.
Signature · 7 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Quoted 6 lines · Avi Kivity
I did provide feedback last time:
Quoted 3 lines
The changes to
last_ch_attr,map_addr, etc. are gratuitous and will cause merge conflicts in the future. Please change only the relevant lines.You probably didn't see it, since you have Mail-Followup-To: set to kvm-devel instead of yourself.
I do that quite explicitly. I read the mailing list, so that should be fine. I'm sorry I somehow managed to miss your response. :(
Signature · 4 lines
Soren Hansen Virtualisation specialist Ubuntu Server Team http://www.ubuntu.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
hi,
Quoted 3 lines
This is a known issue. I've sent a patch to this list (twice, actually) that fixes it, but for some reason, it hasn't been applied. Search for posts from me with "vga" or something in the subject.
I applied the patch from
http://people.ubuntu.com/~soren/0001-Move-common-VGAState-attributes-to-VGA_STATE_COMMON.patch
against kvm-61 release and I still see the messages "kvm: get_dirty_pages returned -2" scrolling by when I start the VM with -vmwarevga. booting windows xp ends up in a blue screen indicating that something isn't alright with the framebuffer. before the blue screen happens there are some lines "vmport:
unknown command 1e" on the console.
booting windows with -vmwarevga and -no-kvm is workish, but windows locked up litte later.
bye,
Andi
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/