Re: [PATCH] pseries: disable migration-test if /dev/kvm cannot be used

2019-11-26 Thread Laurent Vivier
Le 21/11/2019 à 09:30, Juan Quintela a écrit : > Laurent Vivier wrote: >> On 21/11/2019 08:18, Juan Quintela wrote: >>> Laurent Vivier wrote: On ppc64, migration-test only works with kvm_hv, and we already have a check to verify the module is loaded. kvm_hv module can be loade

Re: [PATCH] pseries: disable migration-test if /dev/kvm cannot be used

2019-11-21 Thread David Gibson
On Thu, Nov 21, 2019 at 09:30:27AM +0100, Juan Quintela wrote: > Laurent Vivier wrote: > > On 21/11/2019 08:18, Juan Quintela wrote: > >> Laurent Vivier wrote: > >>> On ppc64, migration-test only works with kvm_hv, and we already > >>> have a check to verify the module is loaded. > >>> > >>> kvm_

Re: [PATCH] pseries: disable migration-test if /dev/kvm cannot be used

2019-11-21 Thread Juan Quintela
Laurent Vivier wrote: > On 21/11/2019 08:18, Juan Quintela wrote: >> Laurent Vivier wrote: >>> On ppc64, migration-test only works with kvm_hv, and we already >>> have a check to verify the module is loaded. >>> >>> kvm_hv module can be loaded in memory and /sys/module/kvm_hv exists, >>> but on s

Re: [PATCH] pseries: disable migration-test if /dev/kvm cannot be used

2019-11-21 Thread Laurent Vivier
On 21/11/2019 08:18, Juan Quintela wrote: > Laurent Vivier wrote: >> On ppc64, migration-test only works with kvm_hv, and we already >> have a check to verify the module is loaded. >> >> kvm_hv module can be loaded in memory and /sys/module/kvm_hv exists, >> but on some systems (like build systems

Re: [PATCH] pseries: disable migration-test if /dev/kvm cannot be used

2019-11-20 Thread Juan Quintela
Laurent Vivier wrote: > On ppc64, migration-test only works with kvm_hv, and we already > have a check to verify the module is loaded. > > kvm_hv module can be loaded in memory and /sys/module/kvm_hv exists, > but on some systems (like build systems) /dev/kvm can be missing > (by administrators ch

Re: [PATCH] pseries: disable migration-test if /dev/kvm cannot be used

2019-11-20 Thread Greg Kurz
On Wed, 20 Nov 2019 18:09:55 +0100 Laurent Vivier wrote: > On ppc64, migration-test only works with kvm_hv, and we already > have a check to verify the module is loaded. > > kvm_hv module can be loaded in memory and /sys/module/kvm_hv exists, > but on some systems (like build systems) /dev/kvm c

Re: [PATCH] pseries: disable migration-test if /dev/kvm cannot be used

2019-11-20 Thread Thomas Huth
On 20/11/2019 18.09, Laurent Vivier wrote: > On ppc64, migration-test only works with kvm_hv, and we already > have a check to verify the module is loaded. > > kvm_hv module can be loaded in memory and /sys/module/kvm_hv exists, > but on some systems (like build systems) /dev/kvm can be missing >

[PATCH] pseries: disable migration-test if /dev/kvm cannot be used

2019-11-20 Thread Laurent Vivier
On ppc64, migration-test only works with kvm_hv, and we already have a check to verify the module is loaded. kvm_hv module can be loaded in memory and /sys/module/kvm_hv exists, but on some systems (like build systems) /dev/kvm can be missing (by administrators choice). And as kvm_hv exists test-