Skip to contentSkip to conversation

windows server 2008 hyper-v on kvm

DISCUSSION Evan Ingram 6 participants 9 messages Feb 15, 2010 KVM

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · Evan Ingram

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.

#2 lore raw

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

Quoted 21 lines · Gleb Natapov
Quoted 9 lines · Evan Ingram

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Gleb Natapov
Quoted 9 lines · Gleb Natapov
Quoted 8 lines · Evan Ingram

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.

Quoted 4 lines
Quoted 1 line

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

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#4 lore raw
Quoted 10 lines · Jan Kiszka
Quoted 9 lines · Gleb Natapov
Quoted 8 lines · Evan Ingram

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.

Quoted 9 lines
Quoted 4 lines
Quoted 1 line

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.

#5 lore raw
Quoted 1 line · Gleb Natapov

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.

#6 lore raw
Quoted 8 lines · On Monday 15 February 2010 12:59:54 Evan Ingram wrote:
Quoted 1 line · Gleb Natapov

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).

Quoted 6 lines

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

#7 lore raw
Quoted 7 lines · Brian Jackson

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.

#8 lore raw
Quoted 10 lines · Evan Ingram
Quoted 7 lines · Brian Jackson

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