From: Jim <jim@suresafe.co.uk>
To: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Nested Virtualization Of Hyper-V 2K8R2
Date: Mon, 24 Oct 2011 12:13:08 +0100 [thread overview]
Message-ID: <4EA54844.8050802@suresafe.co.uk> (raw)
In-Reply-To: <4E9EE7C3.70407@suresafe.co.uk>
Hi
Anyone got any further ideas on how I get the Hyper-V guest to work ?
My kvm is 0.14 (Ubuntu 11.04 Server) - is this just too old ?
Jim
On 19/10/2011 16:07, Jim wrote:
>
>
> On 19/10/2011 16:06, Jim wrote:
>> Hi Joerg,
>>
>> I added the -cpu phenom,-hv but it made no difference. I then tried
>> to call it from the command line (rather then via virsh) and get this :
>>
>> # /usr/bin/kvm -cpu phenom,-hv
>> *CPU feature hv not found*
>>
>>
>> I played around a little and found 'svm' seemed to be a supported cpu
>> flag but both +svm and -svm made no difference either. Alas kvm -cpu
>> ? only listed CPUs and not the options the various ones support.
>>
>> Am I on too low a version of kvm perhaps ? This is an Ubuntu 11.04
>> server system and I've just used the Ubuntu packages - I did not
>> build kvm myself.
>>
>> Thanks
>> Jim
>>
>> My CPU reports as :
>>
>> *processor : 0-3 i.e. 4 cores*
>> vendor_id : AuthenticAMD
>> cpu family : 16
>> model : 2
>> model name : Quad-Core AMD Opteron(tm) Processor 1354
>> stepping : 3
>> cpu MHz : 1100.000
>> cache size : 512 KB
>> physical id : 0
>> siblings : 4
>> core id : 3
>> cpu cores : 4
>> apicid : 3
>> initial apicid : 3
>> fpu : yes
>> fpu_exception : yes
>> cpuid level : 5
>> wp : yes
>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
>> mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
>> fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl
>> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy
>> svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
>> npt lbrv svm_lock
>> bogomips : 4400.04
>> TLB size : 1024 4K pages
>> clflush size : 64
>> cache_alignment : 64
>> address sizes : 48 bits physical, 48 bits virtual
>> power management: ts ttp tm stc 100mhzsteps hwpstate
>>
>>
>>
>> On 19/10/2011 15:19, Joerg Roedel wrote:
>>> Hi Jim,
>>>
>>> On Tue, Oct 18, 2011 at 07:28:52PM +0100, Jim wrote:
>>>> Sure, the KVM command is :
>>>>
>>>> /usr/bin/kvm -enable-nesting -no-kvm-irqchip -S -M pc-0.14 -enable-kvm
>>>> -m 2048 -smp 2,sockets=2,cores=1,threads=1 -name hyperv1 -uuid
>>>> 8c5d8f1f-5767-b388-d408-1b53a1b66e72 -nodefconfig -nodefaults -chardev
>>>> socket,id=charmonitor,path=/var/lib/libvirt/qemu/hyperv1.monitor,server,nowait
>>>>
>>>> -mon chardev=charmonitor,id=monitor,mode=readline -rtc base=localtime
>>>> -no-reboot -boot d -drive
>>>> file=/srv/hyperv/hyperv1.vmimg,if=none,id=drive-ide0-0-0,format=raw
>>>> -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0
>>>> -drive
>>>> file=/srv/virtual-machines/fromiscsi/iso/W2K8ENTR2SP1.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw
>>>>
>>>> -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
>>>> -drive
>>>> file=/srv/virtual-machines/fromiscsi/iso/virtio-win-1.1.16.iso,if=none,media=cdrom,id=drive-ide0-1-1,readonly=on,format=raw
>>>>
>>>> -device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1
>>>> -netdev tap,fd=17,id=hostnet0 -device
>>>> rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:2a:be:2f,bus=pci.0,addr=0x3
>>>>
>>>> -chardev pty,id=charserial0 -device
>>>> isa-serial,chardev=charserial0,id=serial0 -usb -device
>>>> usb-tablet,id=input0 -vnc 127.0.0.1:0 -vga std -device
>>>> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
>>> This is missing a -cpu parameter. Please try again with adding
>>> '-cpu phenom,-hv'. This is the combination I used during testing and
>>> development.
>>>
>>>
>>> Joerg
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>>> the body of a message tomajordomo@vger.kernel.org
>>> More majordomo info athttp://vger.kernel.org/majordomo-info.html
>>>
----------------------------------------------------------------------
All e-mail and telephone communications are subject to Suresafe Terms
And Conditions and may be monitored, recorded and processed for the
purposes contained therein and adherence to regulatory and legal
requirements.
Your further communication or reply to this e-mail indicates your
acceptance of this.
Any views or opinions expressed are the responsibility of the author
and may not reflect those of Suresafe Protection Limited.
Suresafe Protection Limited is registered in Scotland, number SC132827
The registered office is at 8 Kelvin Road, Cumbernauld, G67 2BA.
Telephone: 01236 727792 Fax: 01236 723301 VAT Number: 556 6950 02
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
prev parent reply other threads:[~2011-10-24 11:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 11:34 Nested Virtualization Of Hyper-V 2K8R2 Jim
2011-10-18 11:43 ` Avi Kivity
2011-10-18 12:00 ` Jim
2011-10-18 13:22 ` Avi Kivity
[not found] ` <CAH-QgcacEPF_9QCsrmi-1bH_xC76nrUE8EPuDqSBhnDH6OQeaQ@mail.gmail.com>
2011-10-18 15:46 ` Avi Kivity
2011-10-18 16:21 ` Jim
2011-10-18 16:34 ` Joerg Roedel
2011-10-18 18:28 ` Jim
2011-10-19 14:19 ` Joerg Roedel
[not found] ` <4E9EE787.30700@suresafe.co.uk>
2011-10-19 15:07 ` Jim
2011-10-24 11:13 ` Jim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EA54844.8050802@suresafe.co.uk \
--to=jim@suresafe.co.uk \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.