[ovirt-users] UEFI Guest can only be started on UEFI host (4.4)

2021-09-21 Thread nroach44--- via Users
Hi All,

A problem I've just "dealt with" over the past months is that the two UEFI VMs 
I have installed (One Windows 10, one RHEL8) will only start on the oVirt Node 
(4.4.x, still an issue on 4.4.8) hosts that have been installed using UEFI.

In the case of both guests, they will "start" but get stuck on a small 
640x480-ish black screen, with no CPU or disk activity. It looks as if the VM 
has been started with "Start paused" enabled, but the VM is not paused. I've 
noticed that this matches the normal startup of the guest, although it only 
spends a second or two like that before TianoCore takes over.

Occasionally, I'm able to migrate the VM to a BIOS host. When it fails, the 
following is seen on the /sending/ host:

2021-09-21 20:09:42,915+0800 ERROR (migsrc/86df93bc) [virt.vm] 
(vmId='86df93bc-3304-4002-8939-cbefdea4cc60') internal error: qemu unexpectedly 
closed the monitor: 2021-09-21T12:08:57.355188Z qemu-kvm: warning: Spice: 
reds.c:2305:reds_handle_read_link_done: spice channels 1 should be encrypted
2021-09-21T12:08:57.393585Z qemu-kvm: warning: Spice: 
reds.c:2305:reds_handle_read_link_done: spice channels 3 should be encrypted
2021-09-21T12:08:57.393805Z qemu-kvm: warning: Spice: 
reds.c:2305:reds_handle_read_link_done: spice channels 4 should be encrypted
2021-09-21T12:08:57.393960Z qemu-kvm: warning: Spice: 
reds.c:2305:reds_handle_read_link_done: spice channels 2 should be encrypted
2021-09-21T12:09:40.799119Z qemu-kvm: warning: TSC frequency mismatch between 
VM (3099980 kHz) and host (3392282 kHz), and TSC scaling unavailable
2021-09-21T12:09:40.799228Z qemu-kvm: error: failed to set MSR 0x204 to 
0x10
qemu-kvm: ../target/i386/kvm/kvm.c:2778: kvm_buf_set_msrs: Assertion `ret == 
cpu->kvm_msr_buf->nmsrs' failed. (migration:331)
2021-09-21 20:09:42,938+0800 INFO  (migsrc/86df93bc) [virt.vm] 
(vmId='86df93bc-3304-4002-8939-cbefdea4cc60') Switching from State.STARTED to 
State.FAILED (migration:234)
2021-09-21 20:09:42,938+0800 ERROR (migsrc/86df93bc) [virt.vm] 
(vmId='86df93bc-3304-4002-8939-cbefdea4cc60') Failed to migrate (migration:503)
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/vdsm/virt/migration.py", line 477, in 
_regular_run
time.time(), machineParams
  File "/usr/lib/python3.6/site-packages/vdsm/virt/migration.py", line 578, in 
_startUnderlyingMigration
self._perform_with_conv_schedule(duri, muri)
  File "/usr/lib/python3.6/site-packages/vdsm/virt/migration.py", line 667, in 
_perform_with_conv_schedule
self._perform_migration(duri, muri)
  File "/usr/lib/python3.6/site-packages/vdsm/virt/migration.py", line 596, in 
_perform_migration
self._migration_flags)
  File "/usr/lib/python3.6/site-packages/vdsm/virt/virdomain.py", line 159, in 
call
return getattr(self._vm._dom, name)(*a, **kw)
  File "/usr/lib/python3.6/site-packages/vdsm/virt/virdomain.py", line 101, in f
ret = attr(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/vdsm/common/libvirtconnection.py", 
line 131, in wrapper
ret = f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/vdsm/common/function.py", line 94, in 
wrapper
return func(inst, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/libvirt.py", line 2126, in 
migrateToURI3
raise libvirtError('virDomainMigrateToURI3() failed')
libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 
2021-09-21T12:08:57.355188Z qemu-kvm: warning: Spice: 
reds.c:2305:reds_handle_read_link_done: spice channels 1 should be encrypted
2021-09-21T12:08:57.393585Z qemu-kvm: warning: Spice: 
reds.c:2305:reds_handle_read_link_done: spice channels 3 should be encrypted
2021-09-21T12:08:57.393805Z qemu-kvm: warning: Spice: 
reds.c:2305:reds_handle_read_link_done: spice channels 4 should be encrypted
2021-09-21T12:08:57.393960Z qemu-kvm: warning: Spice: 
reds.c:2305:reds_handle_read_link_done: spice channels 2 should be encrypted
2021-09-21T12:09:40.799119Z qemu-kvm: warning: TSC frequency mismatch between 
VM (3099980 kHz) and host (3392282 kHz), and TSC scaling unavailable
2021-09-21T12:09:40.799228Z qemu-kvm: error: failed to set MSR 0x204 to 
0x10
qemu-kvm: ../target/i386/kvm/kvm.c:2778: kvm_buf_set_msrs: Assertion `ret == 
cpu->kvm_msr_buf->nmsrs' failed.

The receiving host simply sees 

2021-09-21 20:09:42,840+0800 INFO  (libvirt/events) [virt.vm] 
(vmId='86df93bc-3304-4002-8939-cbefdea4cc60') underlying process disconnected 
(vm:1135)
2021-09-21 20:09:42,840+0800 INFO  (libvirt/events) [virt.vm] 
(vmId='86df93bc-3304-4002-8939-cbefdea4cc60') Release VM resources (vm:5325)
2021-09-21 20:09:42,840+0800 INFO  (libvirt/events) [virt.vm] 
(vmId='86df93bc-3304-4002-8939-cbefdea4cc60') Stopping connection 
(guestagent:438)
2021-09-21 20:09:42,840+0800 INFO  (libvirt/events) [vdsm.api] START 
teardownImage(sdUUID='3f46f0f3-1cbb-4154-8af5-dcc3a09c6177', 
spUUID='924e5fbe-beba-11ea-b679-00163e03ad3e', 
imgUUID='d91282d3-2552-44d3-aa0f-84f7330be4ce', 

[ovirt-users] UEFI

2018-06-11 Thread Conrad Jones
Does ovirt support UEFI yet ?

I saw some code reviews in gerrit. But I couldn't find it in my 4.23
install. I'm guessing it's not finished / released yet ?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/M5ON6B36WIDRAH6TQPXBDAD4FR52AEVP/