|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH (V9) 2/2] xen: Add V4V implementation
On 05/29/2013 04:34 AM, Jan Beulich wrote: On 28.05.13 at 21:43, Ross Philipson<ross.philipson@xxxxxxxxxx> wrote: It is limited by the maximum size of the ring that was created. In theory that could be large. I could look at freeing them in the loop as it progresses.
I will go through and make this consistent.
Right, need to adddress this. I guess we should be looking for p2m_is_shared/p2m_is_paging and avoid those types. There may be other types to avoid too like p2m_is_grant etc. Also in code that isn't a Linux clone, please use XENLOG_ instead of KERN_ for message levels. And you absolutely have to use XENLOG_G_ for messages concerning guest activities. And then you properly use PRI_mfn here, yet elsewhere I saw MFNs getting printed using bogus (void *) casts. This also calls for being done consistently. Finally, also printing the PFN here might aid guest side debugging. Wilco
It was cleaned up. I inherited the patch set and went through it. In the diff from version 8 and the inherited set I saw quite a bit of cleanup. But that is not an excuse - I will clean the rest up, sorry. --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -24,6 +24,7 @@ #include<public/sysctl.h> #include<public/vcpu.h> #include<public/mem_event.h> +#include<xen/v4v.h>Please don't, or if you absolutely have to, not after the public headers, but along with the other xen/ ones.--- /dev/null +++ b/xen/include/xen/v4v.h ... +struct v4v_domain;What is this good for? There's no use in any of the following function declarations. It is a forward declaration of the main internal v4v struct. It is used in sched.h in the domain struct - thus the #include you asked about earlier. I will of course move that include. Thanks Ross Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |