Gentoo Archives: gentoo-user-ru

From: "Andrew A. Sabitov" <sabitov@×××××××××.ru>
To: gentoo-user-ru@l.g.o
Subject: [gentoo-user-ru] KVM + win7
Date: Wed, 15 Dec 2010 17:41:32
Message-Id: 20101215234032.19955sk7e0t2uuww@ash.catalysis.ru
1 Господа соучастники, кто подскажет ЧЯДНТ?
2
3 Есть машина х86 + sys-kernel/gentoo-sources-2.6.36-r5 +
4 app-emulation/qemu-kvm-0.13.0-r2
5
6 Был создан "диск" под вонь7:
7 qemu-img create -f qcow2 win7.img 15G
8
9 Потом запущена установка:
10 qemu -hda win7.img -cdrom win7distr.iso -boot d -m 1024 -net
11 nic,macaddr=00:11:22:33:44:55 -net vde
12
13 Винда встала, но после первого ребута КВМ ругается:
14 =====================================================================
15 kvm: vm entry failed with error 0x80000021
16
17 If you're runnning a guest on an Intel machine without
18 unrestricted mode support, the failure can be most likely
19 due to the guest entering an invalid state for Intel VT.
20 For example, the guest maybe running in big real mode
21 which is not supported on less recent Intel processors.
22
23 kvm_run returned -22
24 =====================================================================
25
26 yam ~ # uname -a
27 Linux yam 2.6.36-gentoo-r5 #1 SMP PREEMPT Mon Dec 13 23:28:28 NOVT
28 2010 i686 Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz GenuineIntel
29 GNU/Linux
30
31 Процайка виртуалить умеет, в биосе ключик заенаблен:
32 yam ~ # grep vmx /proc/cpuinfo
33 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
34 mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
35 lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor
36 ds_cpl vmx smx est tm2 ssse3
37
38 В конфиге ядра сказано так:
39 CONFIG_HAVE_KVM=y
40 CONFIG_HAVE_KVM_IRQCHIP=y
41 CONFIG_HAVE_KVM_EVENTFD=y
42 CONFIG_KVM_APIC_ARCHITECTURE=y
43 CONFIG_KVM_MMIO=y
44 CONFIG_VIRTUALIZATION=y
45 CONFIG_KVM=y
46 CONFIG_KVM_INTEL=y
47 # CONFIG_KVM_AMD is not set
48 CONFIG_VHOST_NET=m
49 # CONFIG_LGUEST is not set
50 CONFIG_VIRTIO=m
51 CONFIG_VIRTIO_RING=m
52 CONFIG_VIRTIO_PCI=m
53 CONFIG_VIRTIO_BALLOON=m
54
55 Может кто знает в какую сторону копать?

Replies

Subject Author
Re: [gentoo-user-ru] KVM + win7 Pavel Labushev <p.labushev@×××××.com>