Re: [Qemu-devel] [PATCH v2 3/4] xen/pass-through: correctly deal with RW1C bits

2015-12-07 Thread Stefano Stabellini
On Tue, 24 Nov 2015, Jan Beulich wrote: > Introduce yet another mask for them, so that the generic routine can > handle them, at once rendering xen_pt_pmcsr_reg_write() superfluous. > > Signed-off-by: Jan Beulich Reviewed-by: Stefano Stabellini > --- a/hw/xen/xen_pt.h > +++ b/hw/xen/xen_pt.h

[Qemu-devel] [PATCH v2 3/4] xen/pass-through: correctly deal with RW1C bits

2015-11-24 Thread Jan Beulich
Introduce yet another mask for them, so that the generic routine can handle them, at once rendering xen_pt_pmcsr_reg_write() superfluous. Signed-off-by: Jan Beulich --- a/hw/xen/xen_pt.h +++ b/hw/xen/xen_pt.h @@ -113,6 +113,8 @@ struct XenPTRegInfo { uint32_t res_mask; /* reg read only