]> xenbits.xensource.com Git - qemu-xen-4.2-testing.git/commit
qemu-xen: adjust MSI-X related log messages
authorJan Beulich <jbeulich@suse.com>
Thu, 5 Jan 2012 17:16:46 +0000 (17:16 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 5 Jan 2012 17:16:46 +0000 (17:16 +0000)
commitbb36d632e4cabf47882adff07a45c6702c4a5b30
treea5d08be8bc8800934fc016d00792da812f600f1d
parent4181a6d8c38bb86b1d8c3ef1b41831bee03424dd
qemu-xen: adjust MSI-X related log messages

Several of these messages we coded using line continuation within a
string literal. This is generally not recommended and also lead to odd
sequences of many blanks in the middle of the messages.

The message indicating a discarded write due to MSI-X already being
enabled doesn't need to be issued when a write doesn't actually modify
the current value. Adjust the surrounding logic accordingly, and
eliminate some redundancy as well as the sometimes unnecessary access
to the physical MSI-X table.

Finally, adjust the wording of a few messages to be more precise and/or
more useful.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/pt-msi.c