* Windows under KVM + dual boot
@ 2007-04-08 2:44 David Abrahams
[not found] ` <871wivr3e5.fsf-plj1z4F0hBxDlgNbCJLFcg@public.gmane.org>
0 siblings, 1 reply; 17+ messages in thread
From: David Abrahams @ 2007-04-08 2:44 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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,
--
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <871wivr3e5.fsf-plj1z4F0hBxDlgNbCJLFcg@public.gmane.org>
@ 2007-04-08 3:12 ` Anthony Liguori
2007-04-11 10:29 ` David Abrahams
0 siblings, 1 reply; 17+ messages in thread
From: Anthony Liguori @ 2007-04-08 3:12 UTC (permalink / raw)
To: David Abrahams; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
David Abrahams wrote:
> 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
> 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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <4618DDAF0200005A0002267F-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
@ 2007-04-08 16:18 ` Gregory Haskins
2007-04-08 18:45 ` David Abrahams
1 sibling, 0 replies; 17+ messages in thread
From: Gregory Haskins @ 2007-04-08 16:18 UTC (permalink / raw)
To: dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/,
anthony-rdkfGonbjUSkNkDKm+mE6A
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
I think it will turn out to be a pretty major problem, but probably not for the reason you might think.
I know Xen has the ability to point a vbd interface at a physical partition, and I believe KVM does as well though I am not familiar with it.
In theory you should be able to point the boot disk at your partition and have it come up as a guest.
I think where you will run into problems is that windows won't really like have the system swapped out underneath it. KVM presents its own set of virtualized PC resources that are undoubtedly divergent in some way from your bare metal machine. Trying to do what you are proposing is akin to taking your boot hdd out of a white box and putting it into another with a completely different motherboard/video/sound etc layout. If you've ever tried this, you will know what I mean. It may work, it may not. It will certainly thrash around a bit as it discovers all the new devices each time you switch between bare metal and guest. Generally, the best thing to do IMHO is install windows fresh on the given platform. Linux is much better in this regard, but even here you may hit some problems.
If you do manage to get it working, let us know. But I think success here will be on a case by case basis.
-Greg
-----Original Message-----
From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
To: David Abrahams <dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/@public.gmane.org>
CC: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
BCC: Gregory Haskins <GHaskins-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
Creation Date: 4/7 9:12 pm
Subject: Re: [kvm-devel] Windows under KVM + dual boot
David Abrahams wrote:
> 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
> 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
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <4618DDAF0200005A0002267F-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-04-08 16:18 ` Gregory Haskins
@ 2007-04-08 18:45 ` David Abrahams
2007-04-08 20:41 ` David Abrahams
[not found] ` <871wiu1z91.fsf-plj1z4F0hBxDlgNbCJLFcg@public.gmane.org>
1 sibling, 2 replies; 17+ messages in thread
From: David Abrahams @ 2007-04-08 18:45 UTC (permalink / raw)
To: Gregory Haskins; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
on Sun Apr 08 2007, "Gregory Haskins" <GHaskins-AT-novell.com> wrote:
> I think it will turn out to be a pretty major problem, but probably
> not for the reason you might think.
>
> I know Xen has the ability to point a vbd interface at a physical
> partition, and I believe KVM does as well though I am not familiar
> with it. In theory you should be able to point the boot disk at your
> partition and have it come up as a guest.
>
>
> I think where you will run into problems is that windows won't really
> like have the system swapped out underneath it. KVM presents its own
> set of virtualized PC resources that are undoubtedly divergent in some
> way from your bare metal machine.
That's what Windows hardware profiles are for, IIUC. It seems people
also have to take extra steps to make sure all the necessary drivers
for running the VM are installed. You might wanna read
http://www.motin.eu/www/mirror/physvmware/
--
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
2007-04-08 18:45 ` David Abrahams
@ 2007-04-08 20:41 ` David Abrahams
2007-04-08 21:16 ` David Abrahams
[not found] ` <871wiu1z91.fsf-plj1z4F0hBxDlgNbCJLFcg@public.gmane.org>
1 sibling, 1 reply; 17+ messages in thread
From: David Abrahams @ 2007-04-08 20:41 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
on Sun Apr 08 2007, David Abrahams <dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/-AT-public.gmane.org> wrote:
> on Sun Apr 08 2007, "Gregory Haskins" <GHaskins-AT-novell.com> wrote:
>
>> I think it will turn out to be a pretty major problem, but probably
>> not for the reason you might think.
>>
>> I know Xen has the ability to point a vbd interface at a physical
>> partition, and I believe KVM does as well though I am not familiar
>> with it. In theory you should be able to point the boot disk at your
>> partition and have it come up as a guest.
>>
>>
>> I think where you will run into problems is that windows won't really
>> like have the system swapped out underneath it. KVM presents its own
>> set of virtualized PC resources that are undoubtedly divergent in some
>> way from your bare metal machine.
>
> That's what Windows hardware profiles are for, IIUC. It seems people
> also have to take extra steps to make sure all the necessary drivers
> for running the VM are installed. You might wanna read
> http://www.motin.eu/www/mirror/physvmware/
I figure the way to get the drivers is to install windows in the usual KVM
way, then copy the drivers across to my windows partition. We'll see
how that works out.
--
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
2007-04-08 20:41 ` David Abrahams
@ 2007-04-08 21:16 ` David Abrahams
0 siblings, 0 replies; 17+ messages in thread
From: David Abrahams @ 2007-04-08 21:16 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
on Sun Apr 08 2007, David Abrahams <dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/-AT-public.gmane.org> wrote:
> on Sun Apr 08 2007, David Abrahams <dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/-AT-public.gmane.org> wrote:
>
>> on Sun Apr 08 2007, "Gregory Haskins" <GHaskins-AT-novell.com> wrote:
>>
>>> I think it will turn out to be a pretty major problem, but probably
>>> not for the reason you might think.
>>>
>>> I know Xen has the ability to point a vbd interface at a physical
>>> partition, and I believe KVM does as well though I am not familiar
>>> with it. In theory you should be able to point the boot disk at your
>>> partition and have it come up as a guest.
>>>
>>>
>>> I think where you will run into problems is that windows won't really
>>> like have the system swapped out underneath it. KVM presents its own
>>> set of virtualized PC resources that are undoubtedly divergent in some
>>> way from your bare metal machine.
>>
>> That's what Windows hardware profiles are for, IIUC. It seems people
>> also have to take extra steps to make sure all the necessary drivers
>> for running the VM are installed. You might wanna read
>> http://www.motin.eu/www/mirror/physvmware/
>
> I figure the way to get the drivers is to install windows in the usual KVM
> way, then copy the drivers across to my windows partition. We'll see
> how that works out.
I also found
http://www.advicesource.org/ubuntu/Run_Existing_Windows_Instalation_On_Ubuntu_With_Vmware_player.html
--
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <871wiu1z91.fsf-plj1z4F0hBxDlgNbCJLFcg@public.gmane.org>
@ 2007-04-08 23:06 ` Gregory Haskins
0 siblings, 0 replies; 17+ messages in thread
From: Gregory Haskins @ 2007-04-08 23:06 UTC (permalink / raw)
To: David Abrahams; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>>> On Sun, Apr 8, 2007 at 2:45 PM, in message <871wiu1z91.fsf-plj1z4F0hBxDlgNbCJLFcg@public.gmane.org>,
David Abrahams <dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/@public.gmane.org> wrote:
> on Sun Apr 08 2007, "Gregory Haskins" <GHaskins- AT- novell.com> wrote:
>
>> I think it will turn out to be a pretty major problem, but probably
>> not for the reason you might think.
>>
>> I know Xen has the ability to point a vbd interface at a physical
>> partition, and I believe KVM does as well though I am not familiar
>> with it. In theory you should be able to point the boot disk at your
>> partition and have it come up as a guest.
>>
>>
>> I think where you will run into problems is that windows won't really
>> like have the system swapped out underneath it. KVM presents its own
>> set of virtualized PC resources that are undoubtedly divergent in some
>> way from your bare metal machine.
>
> That's what Windows hardware profiles are for, IIUC. It seems people
> also have to take extra steps to make sure all the necessary drivers
> for running the VM are installed. You might wanna read
> http://www.motin.eu/www/mirror/physvmware/
>
Interesting. Thanks for the link!
Do post to the list/wiki if you get this to work. As I mentioned, I am pretty sure you should be able to do this with KVM (I am just not sure how off the top of my head).
-Greg
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
2007-04-08 3:12 ` Anthony Liguori
@ 2007-04-11 10:29 ` David Abrahams
[not found] ` <87bqhvcih7.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
0 siblings, 1 reply; 17+ messages in thread
From: David Abrahams @ 2007-04-11 10:29 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
on Sat Apr 07 2007, Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A-AT-public.gmane.org> wrote:
> David Abrahams wrote:
>> 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!
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,
--
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <87bqhvcih7.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
@ 2007-04-11 10:56 ` Avi Kivity
2007-04-12 3:15 ` David Abrahams
2007-04-16 13:23 ` David Abrahams
0 siblings, 2 replies; 17+ messages in thread
From: Avi Kivity @ 2007-04-11 10:56 UTC (permalink / raw)
To: David Abrahams; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
David Abrahams wrote:
>>> 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!
>>
>
> 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.
--
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
2007-04-11 10:56 ` Avi Kivity
@ 2007-04-12 3:15 ` David Abrahams
2007-04-16 13:23 ` David Abrahams
1 sibling, 0 replies; 17+ messages in thread
From: David Abrahams @ 2007-04-12 3:15 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
on Wed Apr 11 2007, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org> wrote:
> David Abrahams wrote:
>>>> 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!
>>>
>>
>> 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 VM hangs immedately, with a few random characters scattered across
its console.
> 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.
--
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
2007-04-11 10:56 ` Avi Kivity
2007-04-12 3:15 ` David Abrahams
@ 2007-04-16 13:23 ` David Abrahams
[not found] ` <87mz181mim.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
1 sibling, 1 reply; 17+ messages in thread
From: David Abrahams @ 2007-04-16 13:23 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
on Wed Apr 11 2007, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org> wrote:
>> 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.
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 ?? ()
--
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/
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <87mz181mim.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
@ 2007-04-16 13:45 ` Avi Kivity
[not found] ` <46237E03.8050907-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 17+ messages in thread
From: Avi Kivity @ 2007-04-16 13:45 UTC (permalink / raw)
To: David Abrahams; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
David Abrahams wrote:
> on Wed Apr 11 2007, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org> wrote:
>
>
>>> 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.
>>
>
> 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.
--
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/
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <46237E03.8050907-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-04-16 14:05 ` David Abrahams
[not found] ` <87hcrg1kjc.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
0 siblings, 1 reply; 17+ messages in thread
From: David Abrahams @ 2007-04-16 14:05 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
on Mon Apr 16 2007, Avi Kivity <avi-AT-qumranet.com> wrote:
> David Abrahams wrote:
>> on Wed Apr 11 2007, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org> wrote:
>>
>>
>>>> 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.
>>>
>>
>> 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?
--
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/
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <87hcrg1kjc.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
@ 2007-04-16 14:10 ` Avi Kivity
[not found] ` <462383EA.3000508-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 17+ messages in thread
From: Avi Kivity @ 2007-04-16 14:10 UTC (permalink / raw)
To: David Abrahams; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
David Abrahams wrote:
> on Mon Apr 16 2007, Avi Kivity <avi-AT-qumranet.com> wrote:
>
>
>> David Abrahams wrote:
>>
>>> on Wed Apr 11 2007, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w-AT-public.gmane.org> wrote:
>>>
>>>
>>>
>>>>> 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.
>>>>
>>>>
>>> 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?
>
>
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?
--
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/
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <462383EA.3000508-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-04-16 22:58 ` David Abrahams
[not found] ` <87647wdizj.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
0 siblings, 1 reply; 17+ messages in thread
From: David Abrahams @ 2007-04-16 22:58 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
on Mon Apr 16 2007, Avi Kivity <avi-AT-qumranet.com> wrote:
>
> Well, the disk image may have been corrupted by kvm somehow (I think
> it unlikely, though)
Ugh, please no.
> 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).
> What did you do exactly?
kvm -no-acpi -m 1000 -cdrom /dev/cdrom -boot c /dev/sda
> 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.
--
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/
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <87647wdizj.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
@ 2007-04-17 5:27 ` Avi Kivity
[not found] ` <46245ADD.2060103-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 17+ messages in thread
From: Avi Kivity @ 2007-04-17 5:27 UTC (permalink / raw)
To: David Abrahams; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
David Abrahams wrote:
> on Mon Apr 16 2007, Avi Kivity <avi-AT-qumranet.com> wrote:
>
>
>> Well, the disk image may have been corrupted by kvm somehow (I think
>> it unlikely, though)
>>
>
> Ugh, please no.
>
>
>> 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.
>> What did you do exactly?
>>
>
> kvm -no-acpi -m 1000 -cdrom /dev/cdrom -boot c /dev/sda
>
>
>> 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.
>
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.
--
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/
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Windows under KVM + dual boot
[not found] ` <46245ADD.2060103-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-04-17 6:31 ` David Abrahams
0 siblings, 0 replies; 17+ messages in thread
From: David Abrahams @ 2007-04-17 6:31 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
on Tue Apr 17 2007, Avi Kivity <avi-AT-qumranet.com> wrote:
>>> 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.
>>
>
> That should get you a nice BSOD.
Yeah, no such luck.
> 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.
--
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/
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2007-04-17 6:31 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-08 2:44 Windows under KVM + dual boot David Abrahams
[not found] ` <871wivr3e5.fsf-plj1z4F0hBxDlgNbCJLFcg@public.gmane.org>
2007-04-08 3:12 ` Anthony Liguori
2007-04-11 10:29 ` David Abrahams
[not found] ` <87bqhvcih7.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
2007-04-11 10:56 ` Avi Kivity
2007-04-12 3:15 ` David Abrahams
2007-04-16 13:23 ` David Abrahams
[not found] ` <87mz181mim.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
2007-04-16 13:45 ` Avi Kivity
[not found] ` <46237E03.8050907-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-16 14:05 ` David Abrahams
[not found] ` <87hcrg1kjc.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
2007-04-16 14:10 ` Avi Kivity
[not found] ` <462383EA.3000508-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-16 22:58 ` David Abrahams
[not found] ` <87647wdizj.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
2007-04-17 5:27 ` Avi Kivity
[not found] ` <46245ADD.2060103-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-17 6:31 ` David Abrahams
[not found] <4618DDA80200005A0002267C@mcclure.wal.novell.com>
[not found] ` <4618DDAF0200005A0002267F-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-04-08 16:18 ` Gregory Haskins
2007-04-08 18:45 ` David Abrahams
2007-04-08 20:41 ` David Abrahams
2007-04-08 21:16 ` David Abrahams
[not found] ` <871wiu1z91.fsf-plj1z4F0hBxDlgNbCJLFcg@public.gmane.org>
2007-04-08 23:06 ` Gregory Haskins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox