From: Daniel Bareiro <daniel-listas@gmx.net>
To: KVM General <kvm@vger.kernel.org>
Subject: Testing nested virtualization
Date: Fri, 1 Jan 2010 17:20:00 -0300 [thread overview]
Message-ID: <20100101202000.GB3516@defiant.freesoftware> (raw)
[-- Attachment #1: Type: text/plain, Size: 1516 bytes --]
Hi, all!
I'm testing nested virtualization with Linux 2.6.32.2 and
qemu-kvm-0.12.1.1 in the host.
I was looking for if in the KVM official site there is something
documented, but I didn't find information so any reference will be
welcome.
What I got to do until the moment is to load the module in host of the
following way:
# modprobe kvm_amd nested=1
Then, to boot guest with the parameter -enable-nesting:
# /usr/local/qemu-kvm/bin/qemu-system-x86_64 -hda /dev/vm/test-disk -m \
1024 -boot c -net nic,vlan=0,macaddr=00:16:3e:00:00:34 -net tap \
-daemonize -vnc :3 -k es -localtime -serial \
telnet:localhost:5000,server,nowait -monitor \
telnet:localhost:5001,server,nowait -enable-nesting
In this guest I'm using Linux 2.6.32, with userspace kvm-85 of
backports. For the VM booted within of 'test', I am using a qcow2 file.
But when connecting via VNC, the boot process is hung in "Press for F12
boot menu". Sometimes it gets to pass this instance and I see the Debian
install menu, but while I cross the options, it is hung.
With these options I boot the guest within test:
# kvm -hda disk01.img -m 512 -boot d -cdrom debian-500-amd64-netinst.iso \
-net nic,vlan=0,macaddr=00:16:3e:00:00:33 -net tap -daemonize -vnc :2 \
-k es -localtime
Which can be the problem?
Thanks in advance for your replies.
Regards,
Daniel
--
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2010-01-01 20:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-01 20:20 Daniel Bareiro [this message]
2010-01-01 20:56 ` Testing nested virtualization Daniel Bareiro
2010-01-02 13:11 ` Alexander Graf
2010-01-02 13:45 ` Daniel Bareiro
2010-01-02 13:48 ` Alexander Graf
2010-01-02 13:49 ` Alexander Graf
2010-01-04 11:11 ` Joerg Roedel
2010-01-04 14:20 ` Daniel Bareiro
2010-01-04 15:07 ` Alexander Graf
2010-01-04 15:52 ` Daniel Bareiro
2010-01-04 16:04 ` Joerg Roedel
2010-01-04 23:56 ` Daniel Bareiro
2010-01-02 14:18 ` Daniel Bareiro
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=20100101202000.GB3516@defiant.freesoftware \
--to=daniel-listas@gmx.net \
--cc=dbareiro@gmx.net \
--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.