Re: [Qemu-devel] [PATCH for-2.10] kvm: Print MSR information if KVM_SET_MSRS failed

2017-03-09 Thread Eduardo Habkost
On Thu, Mar 09, 2017 at 07:34:15PM +, Dr. David Alan Gilbert wrote: > * Eduardo Habkost (ehabk...@redhat.com) wrote: > > When a KVM_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->

Re: [Qemu-devel] [PATCH for-2.10] kvm: Print MSR information if KVM_SET_MSRS failed

2017-03-09 Thread Dr. David Alan Gilbert
* Eduardo Habkost (ehabk...@redhat.com) wrote: > When a KVM_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. > > Signed-off-by: Eduardo Habkost > --- > targ

[Qemu-devel] [PATCH for-2.10] kvm: Print MSR information if KVM_SET_MSRS failed

2017-03-09 Thread Eduardo Habkost
When a KVM_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. Signed-off-by: Eduardo Habkost --- target/i386/kvm.c | 6 ++ 1 file changed, 6 insertions(+) diff