Re: Attach kvm-clock to Linux guests on VMM

2019-05-28 Thread Renato Aguiar
On Mon, May 27 2019, Pratik Vyas wrote: * Renato Aguiar [2019-05-27 03:53:11 -0700]: Hi, The following patch makes Linux guests use kvm-clock by setting KVM's CPUID signature on VMM: I think the right thing is to make linux attach pvclock if it's on OpenBSD vmm. You want to send them

Re: Attach kvm-clock to Linux guests on VMM

2019-05-28 Thread Renato Aguiar
On Mon, May 27 2019, Mike Larkin wrote: On Mon, May 27, 2019 at 03:53:11AM -0700, Renato Aguiar wrote: Hi, The following patch makes Linux guests use kvm-clock by setting KVM's CPUID signature on VMM: By saying the hypervisor is KVM to all guests, does this cause the guests to make ot

Re: Attach kvm-clock to Linux guests on VMM

2019-05-27 Thread Pratik Vyas
* Renato Aguiar [2019-05-27 03:53:11 -0700]: Hi, The following patch makes Linux guests use kvm-clock by setting KVM's CPUID signature on VMM: I think the right thing is to make linux attach pvclock if it's on OpenBSD vmm. You want to send them a patch? Otherwise, does vmm pvclock keep

Re: Attach kvm-clock to Linux guests on VMM

2019-05-27 Thread Mike Larkin
On Mon, May 27, 2019 at 03:53:11AM -0700, Renato Aguiar wrote: > Hi, > > The following patch makes Linux guests use kvm-clock by setting KVM's CPUID > signature on VMM: > By saying the hypervisor is KVM to all guests, does this cause the guests to make other assumptions we don't want? > Index:

Attach kvm-clock to Linux guests on VMM

2019-05-27 Thread Renato Aguiar
Hi, The following patch makes Linux guests use kvm-clock by setting KVM's CPUID signature on VMM: Index: sys/arch/amd64/amd64/vmm.c === RCS file: /cvs/src/sys/arch/amd64/amd64/vmm.c,v retrieving revision 1.245 diff -u -p -r1.245 v