Re: [PATCH 6/8] Add domainGetSchedulerType to libxl driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Donnerstag 24 März 2011 15:48:20 schrieb Jim Fehlig:
> Markus Groß wrote:
> > ---
> >  src/libxl/libxl_driver.c |   64 +++++++++++++++++++++++++++++++++++++++++++++-
> >  1 files changed, 63 insertions(+), 1 deletions(-)
> >
> > diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
> > index b05cd77..c72a570 100644
> > --- a/src/libxl/libxl_driver.c
> > +++ b/src/libxl/libxl_driver.c
> > @@ -55,6 +55,11 @@
> >  
> >  #define LIBXL_CONFIG_FORMAT_XM "xen-xm"
> >  
> > +/* Number of Xen scheduler parameters */
> > +#define XEN_SCHED_SEDF_NPARAM     5
> >   
> 
> I assume the similar definition in xend_internal.c is wrong since it is
> counting the domid as well.  Is that correct?  If so, we should fix it
> in xend_internal.c.

Actually I didn't find a place where these numbers come from.
I will remove the defines except "XEN_SCHED_CREDIT_NPARAM"
because with libxl it is only possible to set the scheduler parameters of the "credit" scheduler (and it takes two arguments).

Thanks,
Markus

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]