aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/kvm/clock.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2017-03-09 16:46:34 -0300
committerPaolo Bonzini <pbonzini@redhat.com>2017-03-14 13:26:36 +0100
commitc70b11d160c6bca8e994d40639fcb41558c9fa0a (patch)
treee1ad6f7645afe2fe25943335a31a7248b84f7111 /hw/i386/kvm/clock.c
parent79ca7a1b898eb97c4192f3c78027a0f20485e7b4 (diff)
kvm: Print MSR information if KVM_{GET,SET}_MSRS failed
When a KVM_{GET,SET}_MSRS ioctl() fails, it is difficult to find out which MSR caused the problem. Print an error message for debugging, before we trigger the (ret == cpu->kvm_msr_buf->nmsrs) assert. Suggested-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20170309194634.28457-1-ehabkost@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/kvm/clock.c')
0 files changed, 0 insertions, 0 deletions