public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* windows server 2008 hyper-v on kvm
@ 2010-02-15 16:19 Evan Ingram
  2010-02-15 17:27 ` Gleb Natapov
  0 siblings, 1 reply; 9+ messages in thread
From: Evan Ingram @ 2010-02-15 16:19 UTC (permalink / raw)
  To: kvm

hi,

running windows server 2008 on kvm as guest os. i need to install 
hyper-v on the guest os but i get the error about my processor not 
having the correct hardware virtualisation support. i read i should 
perhaps try running the kvm with '-cpu host' but i still get the same error.

any advice?
cheers

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: windows server 2008 hyper-v on kvm
  2010-02-15 16:19 windows server 2008 hyper-v on kvm Evan Ingram
@ 2010-02-15 17:27 ` Gleb Natapov
  2010-02-15 18:21   ` Rob Earhart
  2010-02-15 18:22   ` Jan Kiszka
  0 siblings, 2 replies; 9+ messages in thread
From: Gleb Natapov @ 2010-02-15 17:27 UTC (permalink / raw)
  To: Evan Ingram; +Cc: kvm

On Mon, Feb 15, 2010 at 04:19:55PM +0000, Evan Ingram wrote:
> hi,
> 
> running windows server 2008 on kvm as guest os. i need to install
> hyper-v on the guest os but i get the error about my processor not
> having the correct hardware virtualisation support. i read i should
> perhaps try running the kvm with '-cpu host' but i still get the
> same error.
> 
> any advice?
KVM not yet fas all needed pieces for windows to recognise that VM
supports hyper-v. And only very small part of hyper-v spec is actually
implemented right now.

--
			Gleb.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: windows server 2008 hyper-v on kvm
  2010-02-15 17:27 ` Gleb Natapov
@ 2010-02-15 18:21   ` Rob Earhart
  2010-02-15 18:22   ` Jan Kiszka
  1 sibling, 0 replies; 9+ messages in thread
From: Rob Earhart @ 2010-02-15 18:21 UTC (permalink / raw)
  To: Gleb Natapov; +Cc: Evan Ingram, kvm

I don't know enough about KVM (yet!) to know whether it virtualizes
the virtualization instructions; it's possible to do it, but it's
tricky, and I'm not sure how much of a point there would be; I'd be a
little surprised if Hyper-V ever ran with any kind of reasonable
performance on KVM.

)Rob


On Mon, Feb 15, 2010 at 9:27 AM, Gleb Natapov <gleb@redhat.com> wrote:
>
> On Mon, Feb 15, 2010 at 04:19:55PM +0000, Evan Ingram wrote:
> > hi,
> >
> > running windows server 2008 on kvm as guest os. i need to install
> > hyper-v on the guest os but i get the error about my processor not
> > having the correct hardware virtualisation support. i read i should
> > perhaps try running the kvm with '-cpu host' but i still get the
> > same error.
> >
> > any advice?
> KVM not yet fas all needed pieces for windows to recognise that VM
> supports hyper-v. And only very small part of hyper-v spec is actually
> implemented right now.
>
> --
>                        Gleb.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: windows server 2008 hyper-v on kvm
  2010-02-15 17:27 ` Gleb Natapov
  2010-02-15 18:21   ` Rob Earhart
@ 2010-02-15 18:22   ` Jan Kiszka
  2010-02-15 18:39     ` Gleb Natapov
  1 sibling, 1 reply; 9+ messages in thread
From: Jan Kiszka @ 2010-02-15 18:22 UTC (permalink / raw)
  To: Gleb Natapov, Evan Ingram; +Cc: kvm

Gleb Natapov wrote:
> On Mon, Feb 15, 2010 at 04:19:55PM +0000, Evan Ingram wrote:
>> hi,
>>
>> running windows server 2008 on kvm as guest os. i need to install
>> hyper-v on the guest os but i get the error about my processor not
>> having the correct hardware virtualisation support. i read i should
>> perhaps try running the kvm with '-cpu host' but i still get the
>> same error.
>>
>> any advice?
> KVM not yet fas all needed pieces for windows to recognise that VM
> supports hyper-v. And only very small part of hyper-v spec is actually
> implemented right now.

I tend to think he is looking for nested virtualization. That is only
available on AMD hosts so far. If you are on AMD, I think you need to
pass -enable-nesting to qemu-kvm to enable it.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: windows server 2008 hyper-v on kvm
  2010-02-15 18:22   ` Jan Kiszka
@ 2010-02-15 18:39     ` Gleb Natapov
  2010-02-15 18:59       ` Evan Ingram
  0 siblings, 1 reply; 9+ messages in thread
From: Gleb Natapov @ 2010-02-15 18:39 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Evan Ingram, kvm

On Mon, Feb 15, 2010 at 07:22:10PM +0100, Jan Kiszka wrote:
> Gleb Natapov wrote:
> > On Mon, Feb 15, 2010 at 04:19:55PM +0000, Evan Ingram wrote:
> >> hi,
> >>
> >> running windows server 2008 on kvm as guest os. i need to install
> >> hyper-v on the guest os but i get the error about my processor not
> >> having the correct hardware virtualisation support. i read i should
> >> perhaps try running the kvm with '-cpu host' but i still get the
> >> same error.
> >>
> >> any advice?
> > KVM not yet fas all needed pieces for windows to recognise that VM
> > supports hyper-v. And only very small part of hyper-v spec is actually
> > implemented right now.
> 
> I tend to think he is looking for nested virtualization. That is only
> available on AMD hosts so far. If you are on AMD, I think you need to
> pass -enable-nesting to qemu-kvm to enable it.
> 
I guess original poster needs to clarify what he actually means :)

--
			Gleb.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: windows server 2008 hyper-v on kvm
  2010-02-15 18:39     ` Gleb Natapov
@ 2010-02-15 18:59       ` Evan Ingram
  2010-02-15 19:02         ` Brian Jackson
  0 siblings, 1 reply; 9+ messages in thread
From: Evan Ingram @ 2010-02-15 18:59 UTC (permalink / raw)
  To: kvm

On 15/02/2010 18:39, Gleb Natapov wrote:
> I guess original poster needs to clarify what he actually means :)

maybe i'm getting the words wrong.

ive got an ubuntu 9.10 server with kvm installed on it. ive then 
installed windows server 2008 into kvm. i now want to install hyper-v in 
windows 2008.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: windows server 2008 hyper-v on kvm
  2010-02-15 18:59       ` Evan Ingram
@ 2010-02-15 19:02         ` Brian Jackson
  2010-02-15 19:09           ` Evan Ingram
  0 siblings, 1 reply; 9+ messages in thread
From: Brian Jackson @ 2010-02-15 19:02 UTC (permalink / raw)
  To: Evan Ingram; +Cc: kvm

On Monday 15 February 2010 12:59:54 Evan Ingram wrote:
> On 15/02/2010 18:39, Gleb Natapov wrote:
> > I guess original poster needs to clarify what he actually means :)
> 
> maybe i'm getting the words wrong.
> 
> ive got an ubuntu 9.10 server with kvm installed on it. ive then
> installed windows server 2008 into kvm. i now want to install hyper-v in
> windows 2008.

So you want to run hyper-v guests inside of a kvm guest? So there would be 2 
levels of virtualization? It's called nested virtualization. It only currently 
works with AMD cpus, and even then it's pretty slow unless you've got npt. 
It's also not very well tested (last I heard the only thing that worked 
reliably was kvm in kvm).


> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: windows server 2008 hyper-v on kvm
  2010-02-15 19:02         ` Brian Jackson
@ 2010-02-15 19:09           ` Evan Ingram
  2010-02-15 20:51             ` Alexander Graf
  0 siblings, 1 reply; 9+ messages in thread
From: Evan Ingram @ 2010-02-15 19:09 UTC (permalink / raw)
  To: kvm

On 15/02/2010 19:02, Brian Jackson wrote:
>
> So you want to run hyper-v guests inside of a kvm guest? So there would be 2
> levels of virtualization? It's called nested virtualization. It only currently
> works with AMD cpus, and even then it's pretty slow unless you've got npt.
> It's also not very well tested (last I heard the only thing that worked
> reliably was kvm in kvm).
>    

yeah. i wanted to run windows remote desktop services to serve some thin 
clients, but i wanted to run it on my kvm server. the desktop 
virtualisation requires hyper-v.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: windows server 2008 hyper-v on kvm
  2010-02-15 19:09           ` Evan Ingram
@ 2010-02-15 20:51             ` Alexander Graf
  0 siblings, 0 replies; 9+ messages in thread
From: Alexander Graf @ 2010-02-15 20:51 UTC (permalink / raw)
  To: Evan Ingram; +Cc: kvm


On 15.02.2010, at 20:09, Evan Ingram wrote:

> On 15/02/2010 19:02, Brian Jackson wrote:
>> 
>> So you want to run hyper-v guests inside of a kvm guest? So there would be 2
>> levels of virtualization? It's called nested virtualization. It only currently
>> works with AMD cpus, and even then it's pretty slow unless you've got npt.
>> It's also not very well tested (last I heard the only thing that worked
>> reliably was kvm in kvm).
>>   
> 
> yeah. i wanted to run windows remote desktop services to serve some thin clients, but i wanted to run it on my kvm server. the desktop virtualisation requires hyper-v.

Running Hyper-V inside KVM is one of my big goals. Performance-wise it should be pretty good when used on an AMD K10 (4-core and newer) system, because Hyper-V 1 doesn't use nested pages anyways.

Unfortunately, last time I checked it was still broken. I haven't gotten around to spend another week on debugging it yet. I haven't gotten some minor detail about interrupt injection right I suppose. So I guess you need to live without for now :-).


Alex

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-02-15 20:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 16:19 windows server 2008 hyper-v on kvm Evan Ingram
2010-02-15 17:27 ` Gleb Natapov
2010-02-15 18:21   ` Rob Earhart
2010-02-15 18:22   ` Jan Kiszka
2010-02-15 18:39     ` Gleb Natapov
2010-02-15 18:59       ` Evan Ingram
2010-02-15 19:02         ` Brian Jackson
2010-02-15 19:09           ` Evan Ingram
2010-02-15 20:51             ` Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox