Re: [patch V5 05/15] entry: Provide infrastructure for work before transitioning to guest mode

2020-07-30 Thread Thomas Gleixner
Qian Cai writes: > On Wed, Jul 22, 2020 at 11:59:59PM +0200, Thomas Gleixner wrote: > SR-IOV will start trigger a warning below in this commit, > > [ 765.434611] WARNING: CPU: 13 PID: 3377 at include/linux/entry-kvm.h:75 > kvm_arch_vcpu_ioctl_run+0xb52/0x1320 [kvm] Yes, I'm a moron. Fixed it

Re: [patch V5 05/15] entry: Provide infrastructure for work before transitioning to guest mode

2020-07-29 Thread Qian Cai
On Wed, Jul 22, 2020 at 11:59:59PM +0200, Thomas Gleixner wrote: > From: Thomas Gleixner > > Entering a guest is similar to exiting to user space. Pending work like > handling signals, rescheduling, task work etc. needs to be handled before > that. > > Provide generic infrastructure to avoid

[patch V5 05/15] entry: Provide infrastructure for work before transitioning to guest mode

2020-07-22 Thread Thomas Gleixner
From: Thomas Gleixner Entering a guest is similar to exiting to user space. Pending work like handling signals, rescheduling, task work etc. needs to be handled before that. Provide generic infrastructure to avoid duplication of the same handling code all over the place. The transfer to guest