ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Q: libvirt: Как побороть unknown OS type hvm?
@ 2010-08-13 11:08 Aleksey Avdeev
  2010-08-13 12:05 ` Anton Farygin
  2010-08-13 12:48 ` Alexey I. Froloff
  0 siblings, 2 replies; 7+ messages in thread
From: Aleksey Avdeev @ 2010-08-13 11:08 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]

Приветствую.

  Пытаюсь запустить под libvirt VM используя kvm и аппаратную
виртуализацию (hvm). (VM и её конфигурация скопированы с хоста, где всё
работает). При virsh create <...>, наблюдаю в логе:

error: unknown OS type hvm

  Аппаратную виртуализацию железо поддерживает:

$ sed -n '/^flags[[:blank:]]*:/s/^.*:[[:blank:]]*//p' /proc/cpuinfo|head -n1
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 rdtscp lm
3dnowext 3dnow rep_good nopl pni cx16 lahf_lm cmp_legacy svm extapic
cr8_legacy

  Модуль kvm загружен:

$ sudo -H service kvm status
kvm module is loaded

  В dmesg наблюдаю:

[  189.785964] kvm: emulating preempt notifiers; do not benchmark on
this machine
[  189.785972] loaded kvm module (v2.6.27)

  Но libvirt похоже его не задействует:

$ sudo -H virsh capabilities
<capabilities>

  <host>
    <cpu>
      <arch>x86_64</arch>
    </cpu>
  </host>

  <guest>
    <os_type>exe</os_type>
    <arch name='x86_64'>
      <wordsize>32</wordsize>
      <domain type='openvz'>
      </domain>
    </arch>
  </guest>

</capabilities>

  Кто виноват, и что делать?

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]

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

end of thread, other threads:[~2010-08-13 14:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-13 11:08 [Sysadmins] Q: libvirt: Как побороть unknown OS type hvm? Aleksey Avdeev
2010-08-13 12:05 ` Anton Farygin
2010-08-13 12:26   ` Aleksey Avdeev
2010-08-13 12:48     ` Anton Farygin
2010-08-13 12:48 ` Alexey I. Froloff
2010-08-13 13:19   ` Aleksey Avdeev
2010-08-13 14:54     ` Aleksey Avdeev

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git