Re: [Qemu-devel] [PATCH] target-i386: kvm: 'kvm_get_supported_msrs' cleanup

2019-07-25 Thread Paolo Bonzini
On 25/07/19 17:16, Li Qiang wrote: > Function 'kvm_get_supported_msrs' is only called once > now, get rid of the static variable 'kvm_supported_msrs'. > > Signed-off-by: Li Qiang Queued, thanks. Paolo > --- > target/i386/kvm.c | 185 +++--- > 1 file cha

[Qemu-devel] [PATCH] target-i386: kvm: 'kvm_get_supported_msrs' cleanup

2019-07-25 Thread Li Qiang
Function 'kvm_get_supported_msrs' is only called once now, get rid of the static variable 'kvm_supported_msrs'. Signed-off-by: Li Qiang --- target/i386/kvm.c | 185 +++--- 1 file changed, 91 insertions(+), 94 deletions(-) diff --git a/target/i386/kvm.c b/