89f9f6796d
I got HV_STATUS_INVALID_CONNECTION_ID on Hyper-V 2008 R2 when keeping running "rmmod hv_netvsc; modprobe hv_netvsc; rmmod hv_utils; modprobe hv_utils" in a Linux guest. Looks the host has some kind of throttling mechanism if some kinds of hypercalls are sent too frequently. Without the patch, the driver can occasionally fail to load. Also let's retry HV_STATUS_INSUFFICIENT_MEMORY, though we didn't get it before. Removed 'case -ENOMEM', since the hypervisor doesn't return this. CC: "K. Y. Srinivasan" <kys@microsoft.com> Reviewed-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Dexuan Cui <decui@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
a.out.h | ||
auxvec.h | ||
bitsperlong.h | ||
boot.h | ||
bootparam.h | ||
byteorder.h | ||
debugreg.h | ||
e820.h | ||
errno.h | ||
fcntl.h | ||
hw_breakpoint.h | ||
hyperv.h | ||
ioctl.h | ||
ioctls.h | ||
ipcbuf.h | ||
ist.h | ||
Kbuild | ||
kvm.h | ||
kvm_para.h | ||
kvm_perf.h | ||
ldt.h | ||
mce.h | ||
mman.h | ||
msgbuf.h | ||
msr-index.h | ||
msr.h | ||
mtrr.h | ||
param.h | ||
perf_regs.h | ||
poll.h | ||
posix_types.h | ||
posix_types_32.h | ||
posix_types_64.h | ||
posix_types_x32.h | ||
prctl.h | ||
processor-flags.h | ||
ptrace-abi.h | ||
ptrace.h | ||
resource.h | ||
sembuf.h | ||
setup.h | ||
shmbuf.h | ||
sigcontext.h | ||
sigcontext32.h | ||
siginfo.h | ||
signal.h | ||
socket.h | ||
sockios.h | ||
stat.h | ||
statfs.h | ||
svm.h | ||
swab.h | ||
termbits.h | ||
termios.h | ||
types.h | ||
ucontext.h | ||
unistd.h | ||
vm86.h | ||
vmx.h | ||
vsyscall.h |