OSDN Git Service

target-i386: kvm: 'kvm_get_supported_msrs' cleanup
authorLi Qiang <liq3ea@163.com>
Thu, 25 Jul 2019 15:16:39 +0000 (08:16 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Aug 2019 15:26:19 +0000 (17:26 +0200)
commitde428cead63a958137ee63efcc3cceaf75f6c125
treef48ab0f3484f6c222549ccd7c2bc0bce80c968fb
parent98387d58024e3fb1b88d5a57912e4514d7f39c7c
target-i386: kvm: 'kvm_get_supported_msrs' cleanup

Function 'kvm_get_supported_msrs' is only called once
now, get rid of the static variable 'kvm_supported_msrs'.

Signed-off-by: Li Qiang <liq3ea@163.com>
Message-Id: <20190725151639.21693-1-liq3ea@163.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm.c