Windows under KVM + dual boot
I want to be able to launch the same windows installation under KVM/Linux that I can also boot into directly. Are there instructions somewhere for that?
I could try to adapt http://www.motin.eu/www/mirror/physvmware/, but I would prefer to have something more kvm-specific if possible.
Thanks in advance,
Signature · 12 lines
Dave Abrahams Boost Consulting www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · David Abrahams
I want to be able to launch the same windows installation under KVM/Linux that I can also boot into directly. Are there instructions somewhere for that?
I could try to adapt http://www.motin.eu/www/mirror/physvmware/, but I would prefer to have something more kvm-specific if possible.
I'm not aware of anyone doing this currently although I suspect that it's definitely possible. If you have any success, documenting it in the wiki would be greatly appreciated!
Regards,
Anthony Liguori
Quoted 3 lines
Thanks in advance,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 5 lines · Anthony Liguori
Quoted 4 lines · David Abrahams
I want to be able to launch the same windows installation under KVM/Linux that I can also boot into directly. Are there instructions somewhere for that?
Quoted 7 lines
Quoted 3 lines
I could try to adapt http://www.motin.eu/www/mirror/physvmware/, but I would prefer to have something more kvm-specific if possible.
I'm not aware of anyone doing this currently although I suspect that it's definitely possible. If you have any success, documenting it in the wiki would be greatly appreciated!
Unfortunately, KVM core dumps the instant I select XP from my grub menu. By contrast, it will happily launch a linux kernel (on partitions other than the ones I'm booted into; don't worry). This makes me think that it's probably not a driver problem, although I could of course be wrong.
Anyone care to help me diagnose this one?
Thanks,
Signature · 12 lines
Dave Abrahams Boost Consulting http://www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 13 lines · David Abrahams
Quoted 4 lines
Quoted 4 lines
I want to be able to launch the same windows installation under KVM/Linux that I can also boot into directly. Are there instructions somewhere for that?
Quoted 8 lines
Quoted 4 lines
I could try to adapt http://www.motin.eu/www/mirror/physvmware/, but I would prefer to have something more kvm-specific if possible.
I'm not aware of anyone doing this currently although I suspect that it's definitely possible. If you have any success, documenting it in the wiki would be greatly appreciated!
Quoted 8 lines
Unfortunately, KVM core dumps the instant I select XP from my grub menu. By contrast, it will happily launch a linux kernel (on partitions other than the ones I'm booted into; don't worry). This makes me think that it's probably not a driver problem, although I could of course be wrong.
Anyone care to help me diagnose this one?
We probably misemulate something that grub uses when chainloading another bootloader.
A good test is running with -no-kvm. The gdb backtrace from the core dump is also interesting.
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 20 lines · Avi Kivity
Quoted 19 lines · David Abrahams
Quoted 4 lines
Quoted 4 lines
I want to be able to launch the same windows installation under KVM/Linux that I can also boot into directly. Are there instructions somewhere for that?
Quoted 8 lines
Quoted 4 lines
I could try to adapt http://www.motin.eu/www/mirror/physvmware/, but I would prefer to have something more kvm-specific if possible.
I'm not aware of anyone doing this currently although I suspect that it's definitely possible. If you have any success, documenting it in the wiki would be greatly appreciated!
Unfortunately, KVM core dumps the instant I select XP from my grub menu. By contrast, it will happily launch a linux kernel (on partitions other than the ones I'm booted into; don't worry). This makes me think that it's probably not a driver problem, although I could of course be wrong.
Quoted 7 lines
Quoted 2 lines
Anyone care to help me diagnose this one?
We probably misemulate something that grub uses when chainloading another bootloader.
A good test is running with -no-kvm.
The VM hangs immedately, with a few random characters scattered across its console.
Quoted 1 line
The gdb backtrace from the core dump is also interesting.
Happy to try that, but where is it putting the core dumps? I can't find them.
Signature · 12 lines
Dave Abrahams Boost Consulting http://www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 6 lines · Avi Kivity
Quoted 6 lines
Unfortunately, KVM core dumps the instant I select XP from my grub menu. By contrast, it will happily launch a linux kernel (on partitions other than the ones I'm booted into; don't worry). This makes me think that it's probably not a driver problem, although I could of course be wrong.
Quoted 8 lines
Quoted 2 lines
Anyone care to help me diagnose this one?
We probably misemulate something that grub uses when chainloading another bootloader.
A good test is running with -no-kvm. The gdb backtrace from the core dump is also interesting.
Unfortunately it doesn't look too interesting when I simply run kvm under gdb. Is there something else I can do?
exception 13 (0)
rax 0000000000000010 rbx 0000000000007906 rcx 0000000000004208 rdx 0000000000000000 rsi 00000000000007be rdi 00000000000931fe rsp 000000000000cfb4 rbp 0000000000001ff0 r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000 r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000 rip 00000000000006bb rflags 00033202
cs 0d00 (0000d000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ds 0d00 (0000d000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 0d00 (0000d000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
tr 0000 (3f050000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) gdt 9108/27
idt 0/3ff
cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
Program received signal SIGABRT, Aborted.
[Switching to Thread -1212594496 (LWP 8119)]0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall () #1 0xb7c47df0 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7c49641 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0x0810ea9d in ?? () #4 0x09b26008 in ?? () #5 0x00000000 in ?? ()
Signature · 12 lines
Dave Abrahams Boost Consulting http://www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com ------------------------------------------------------------------------- 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/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 15 lines · David Abrahams
Quoted 12 lines · Avi Kivity
Quoted 9 lines
Unfortunately, KVM core dumps the instant I select XP from my grub menu. By contrast, it will happily launch a linux kernel (on partitions other than the ones I'm booted into; don't worry). This makes me think that it's probably not a driver problem, although I could of course be wrong.
Anyone care to help me diagnose this one?
We probably misemulate something that grub uses when chainloading another bootloader.
Quoted 8 lines
Quoted 3 lines
A good test is running with -no-kvm. The gdb backtrace from the core dump is also interesting.
Unfortunately it doesn't look too interesting when I simply run kvm under gdb. Is there something else I can do?
Well, considering that it doesn't work under -no-kvm, I'm not sure what's going on here.
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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/
A message that is not in the archive (sent off-list or not yet received): 46237E03.8050907-atKUWr5tajBWk0Htik3J/[email protected]
Quoted 19 lines · Avi Kivity
Quoted 18 lines · David Abrahams
Quoted 14 lines · Avi Kivity
Quoted 8 lines
Unfortunately, KVM core dumps the instant I select XP from my grub menu. By contrast, it will happily launch a linux kernel (on partitions other than the ones I'm booted into; don't worry). This makes me think that it's probably not a driver problem, although I could of course be wrong.
Anyone care to help me diagnose this one?
We probably misemulate something that grub uses when chainloading another bootloader.
A good test is running with -no-kvm. The gdb backtrace from the core dump is also interesting.
Quoted 7 lines
Quoted 4 lines
Unfortunately it doesn't look too interesting when I simply run kvm under gdb. Is there something else I can do?
Well, considering that it doesn't work under -no-kvm, I'm not sure what's going on here.
Should I take this to the qemu list?
Signature · 11 lines
Dave Abrahams Boost Consulting http://www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com ------------------------------------------------------------------------- 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/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 30 lines · David Abrahams
Quoted 27 lines · Avi Kivity
Quoted 25 lines · David Abrahams
Quoted 6 lines · Avi Kivity
Quoted 6 lines
Unfortunately, KVM core dumps the instant I select XP from my grub menu. By contrast, it will happily launch a linux kernel (on partitions other than the ones I'm booted into; don't worry). This makes me think that it's probably not a driver problem, although I could of course be wrong.
Quoted 10 lines
Quoted 3 lines
Anyone care to help me diagnose this one?
We probably misemulate something that grub uses when chainloading another bootloader.
A good test is running with -no-kvm. The gdb backtrace from the core dump is also interesting.
Unfortunately it doesn't look too interesting when I simply run kvm under gdb. Is there something else I can do?
Quoted 7 lines
Quoted 3 lines
Well, considering that it doesn't work under -no-kvm, I'm not sure what's going on here.
Should I take this to the qemu list?
Well, the disk image may have been corrupted by kvm somehow (I think it unlikely, though) so it would be best to reproduce this with stock qemu all the way from installation.
What did you do exactly? Port an existing setup to kvm/qemu or install on a vm from scratch? If an existing setup, does it still work natively?
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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/
A message that is not in the archive (sent off-list or not yet received): 462383EA.3000508-atKUWr5tajBWk0Htik3J/[email protected]
Quoted 3 lines · Avi Kivity
Well, the disk image may have been corrupted by kvm somehow (I think it unlikely, though)
Ugh, please no.
Quoted 2 lines
so it would be best to reproduce this with stock
qemu all the way from installation.
I really don't have time for that, and XP boots just fine directly from that disk image (not in a vm).
Quoted 1 line
What did you do exactly?
kvm -no-acpi -m 1000 -cdrom /dev/cdrom -boot c /dev/sda
Quoted 3 lines
Port an existing setup to kvm/qemu or
install on a vm from scratch? If an existing setup, does it still work natively?
An existing setup, and yes, it still works natively
It could conceivably be due to missing drivers for the virtual disk drive.
Signature · 11 lines
Dave Abrahams Boost Consulting http://www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com ------------------------------------------------------------------------- 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/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · David Abrahams
Quoted 3 lines · Avi Kivity
Well, the disk image may have been corrupted by kvm somehow (I think it unlikely, though)
Ugh, please no.
Quoted 8 lines
Quoted 3 lines
so it would be best to reproduce this with stock
qemu all the way from installation.I really don't have time for that, and XP boots just fine directly from that disk image (not in a vm).
That rules out corruption and need to reproduce everything.
Quoted 11 lines
Quoted 2 lines
What did you do exactly?
kvm -no-acpi -m 1000 -cdrom
/dev/cdrom-boot c/dev/sdaQuoted 4 lines
Port an existing setup to kvm/qemu or
install on a vm from scratch? If an existing setup, does it still work natively?
Quoted 5 lines
An existing setup, and yes, it still works natively
It could conceivably be due to missing drivers for the virtual disk drive.
That should get you a nice BSOD.
So it looks like a qemu problem, but qemu-devel is unlikely to be able to help you without a way to reproduce. Still worth reporting IMO.
Signature · 8 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- 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/
A message that is not in the archive (sent off-list or not yet received): 46245ADD.2060103-atKUWr5tajBWk0Htik3J/[email protected]
Quoted 5 lines · Avi Kivity
Quoted 5 lines
Quoted 4 lines
Port an existing setup to kvm/qemu or
install on a vm from scratch? If an existing setup, does it still work natively?
Quoted 7 lines
Quoted 5 lines
An existing setup, and yes, it still works natively
It could conceivably be due to missing drivers for the virtual disk drive.
That should get you a nice BSOD.
Yeah, no such luck.
Quoted 2 lines
So it looks like a qemu problem, but qemu-devel is unlikely to be able to help you without a way to reproduce. Still worth reporting IMO.
OK, thanks.
Signature · 11 lines
Dave Abrahams Boost Consulting http://www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com ------------------------------------------------------------------------- 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/