Re: [PATCH v2] target/i386: Add kvm_get_one_msr helper

2022-02-11 Thread Yang, Weijiang
Ping... Does this v2 meet the requirement? On 1/30/2022 7:07 AM, Yang Weijiang wrote: When try to get one msr from KVM, I found there's no such kind of existing interface while kvm_put_one_msr() is there. So here comes the patch. It'll remove redundant preparation code before finally call KVM_G

[PATCH v2] target/i386: Add kvm_get_one_msr helper

2022-01-30 Thread Yang Weijiang
When try to get one msr from KVM, I found there's no such kind of existing interface while kvm_put_one_msr() is there. So here comes the patch. It'll remove redundant preparation code before finally call KVM_GET_MSRS IOCTL. No functional change intended. v2: Per Paolo's suggestion, move the help