VT-d: make remap_entry_to_msi_msg() return consistent message
authorJan Beulich <jbeulich@suse.com>
Thu, 4 Oct 2012 07:28:25 +0000 (09:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Oct 2012 07:28:25 +0000 (09:28 +0200)
commitfb0c65ba0dc5fcf7582aef335565de3ae5771fda
tree5a98df32f3c076f48c2cfb676348147f39a3b5e0
parentceedb8abf06b98fd42cc9ae979d0d53acc7de2dd
VT-d: make remap_entry_to_msi_msg() return consistent message

During debugging of another problem I found that in x2APIC mode, the
destination field of the low address value wasn't passed back
correctly. While this is benign in most cases (as the value isn't being
used anywhere), it can be confusing (and misguiding) when printing the
value read or when comparing it to the one previously passed into the
inverse function.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/drivers/passthrough/vtd/intremap.c