|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for 4.7] Remove HVMMEM_mmio_write_dm from the public interface.
Thanks Jan. And I admire your rigorous thought. :) On 4/28/2016 6:57 PM, Jan Beulich wrote: On 28.04.16 at 12:42, <george.dunlap@xxxxxxxxxx> wrote:On 28/04/16 11:22, Jan Beulich wrote:On 28.04.16 at 10:29, <yu.c.zhang@xxxxxxxxxxxxxxx> wrote:@@ -5529,7 +5527,7 @@ long do_hvm_op(unsigned long op,XEN_GUEST_HANDLE_PARAM(void) arg) Well, I did not delete the old line, because in my coming patch(the p2m renaming code), I'm planning to introduce the HVMMEM_ioreq_server, which is HVMMEM_unused+1. And I do not want the check of a.hvmmem_type against HVMMEN_unused later in this routine appear in that patch. That might have been slightly cleaner; but we're going to have to put it back as soon as the development window opens anyway, so I don't really see the point of going through the effort of respinning the patch again. Would you be willing to ack this version anyway? Not sure if this will compile? Can have a try. :) I guess by !memtype[a.hvmmem_type] you are trying to check if it's p2m_invalid? But p2m_ram_rw is 0, and p2m_invalid is 1. So may be it should be checked like memtype[a.hvmmem_type] < 0 and initialize the holes with -1. But I still wonder is this really necessary? Because we only have one hole in this array in the forseeable future. B.R. Yu _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |