Hi,

On Tue, 6 May 2025 at 00:34, Fabiano Rosas <faro...@suse.de> wrote:
> >> # Running /ppc64/migration/multifd+postcopy/tcp/plain/cancel
> >> # Using machine type: pseries-10.0
> >> # starting QEMU: exec ./qemu-system-ppc64 -qtest
> >> # {
> >> #     "error": {
> >> #         "class": "GenericError",
> >> #         "desc": "Postcopy is not supported: Userfaultfd not available: 
> >> Function not implemented"
> >> #     }
> >> # }
> >
===
[ ~]#
...
PPC KVM module is not loaded. Try modprobe kvm_hv.
qemu-system-ppc64: -accel kvm: failed to initialize kvm: Invalid argument
qemu-system-ppc64: -accel kvm: ioctl(KVM_CREATE_VM) failed: Invalid argument
PPC KVM module is not loaded. Try modprobe kvm_hv.
qemu-system-ppc64: -accel kvm: failed to initialize kvm: Invalid argument
[ ~]#

[ ~]# modprobe kvm-hv
modprobe: ERROR: could not insert 'kvm_hv': No such device
[ ~]#
[ ~]# ls -l /dev/kvm /dev/userfaultfd
crw-rw-rw-. 1 root kvm  10, 232 May  6 07:06 /dev/kvm
crw----rw-. 1 root root 10, 123 May  6 06:30 /dev/userfaultfd
[ ~]#
===

* I tried to reproduce this issue across multiple Power9 and Power10
machines, but I -qtest could not run due to above errors.

> We're missing a check on has_uffd for the multifd+postcopy tests.

* If it is about missing the 'e->has_uffd' check, does that mean
Postcopy tests are skipped on this machine because 'e->has_uffd' is
false?


Thank you.
---
  - Prasad


Reply via email to