diff options
author | Peter Xu <peterx@redhat.com> | 2017-02-03 15:18:16 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-02-16 14:06:55 +0100 |
commit | c6fcb0e201ad296a9c0f587486830d9508094efb (patch) | |
tree | 02d88091fccc90e2d45b15d8c747de30d6b5f22f /tests/test-string-output-visitor.c | |
parent | 5dae13cd71f0755a1395b5a4cde635b8a6ee3f58 (diff) |
kvm/ioapic: dump real object instead of a fake one
When we do "info ioapic" for kvm ioapic, we were building up a temporary
ioapic object. Let's fetch the real one and update correspond to the
real object as well.
This fixes printing uninitialized version field in
ioapic_print_redtbl().
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1486106298-3699-2-git-send-email-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions