]> xenbits.xensource.com Git - qemu-xen-traditional.git/commit
This is just to avoid having to adjust that calculation later in
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Jun 2015 15:13:11 +0000 (16:13 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 9 Jun 2015 15:13:11 +0000 (16:13 +0100)
commit7a2383ac363810b82ccaac6670e092b71c02a525
treed3d90954a2465afa34d503f9af42952967ac94a2
parent50c69a0b2e8e1c734a08ff0e94872c7a5f28c7e8
This is just to avoid having to adjust that calculation later in
multiple places.

Note that including ->ro_mask in get_throughable_mask()'s calculation
is only an apparent (i.e. benign) behavioral change: For r/o fields it
doesn't matter > whether they get passed through - either the same flag
is also set in emu_mask (then there's no change at all) or the field is
r/o in hardware (and hence a write won't change it anyway).

This is a preparatory patch for XSA-131.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
hw/pass-through.c