New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear error message while creating HVM but without hardware support for it (VT-x) #1198

Closed
marmarek opened this Issue Sep 21, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Sep 21, 2015

The error is:

[aaa@dom0 ~]$ qvm-create windows7 --hvm --label green
--> Creating directory: /var/lib/qubes/appvms/windows7
--> Creating volatile image: /var/lib/qubes/appvms/windows7/volatile.img...
--> Creating icon symlink: /var/lib/qubes/appvms/windows7/icon.png -> /usr/share
/icons/hicolor/128x128/devices/appvm-green.png
Traceback (most recent call last):
File "/usr/bin/qvm-create", line 210, in
main()
File "/usr/bin/qvm-create", line 188, in main
vm.create_on_disk(verbose=options.verbose, source_template=template)
File "/usr/lib64/python2.7/site-packages/qubes/modules/01QubesHVm.py", line 21
8, in create_on_disk
self._update_libvirt_domain()
File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 71
4, in _update_libvirt_domain
self._libvirt_domain = vmm.libvirt_conn.defineXML(domain_config)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3541, in defineXML
if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirt.libvirtError: неизвестный тип ОС hvm
[aaa@dom0 ~]$

Note: "неизвестный тип ОС hvm" - "unknown type of OS hvm"

@marmarek marmarek added this to the Release 3.0 milestone Sep 21, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Sep 21, 2015

Member

Additionally VM directory should be deleted after failed VM creation. Otherwise further attempts will fail.

Member

marmarek commented Sep 21, 2015

Additionally VM directory should be deleted after failed VM creation. Otherwise further attempts will fail.

marmarek added a commit to marmarek/old-qubes-core-admin that referenced this issue Oct 2, 2015

core/hvm: fix error message when creating HVM while not supported by …
…the hardware

libvirt reports such errors at domain definition, not startup (as was in
libxl).

QubesOS/qubes-issues#1198

(cherry picked from commit b9e6b0a)

marmarek added a commit to marmarek/old-qubes-core-admin that referenced this issue Oct 2, 2015

core/hvm: fix error message when creating HVM while not supported by …
…the hardware

libvirt reports such errors at domain definition, not startup (as was in
libxl).

QubesOS/qubes-issues#1198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment