From: Aleksey Avdeev <solo@solin.spb.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] Q: libvirt: Как побороть unknown OS type hvm? Date: Fri, 13 Aug 2010 15:08:21 +0400 Message-ID: <4C6527A5.10409@solin.spb.ru> (raw) [-- 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 --]
next reply other threads:[~2010-08-13 11:08 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-08-13 11:08 Aleksey Avdeev [this message] 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
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=4C6527A5.10409@solin.spb.ru \ --to=solo@solin.spb.ru \ --cc=sysadmins@lists.altlinux.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
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