[Libvir] Add scheduler patch?

Daniel Veillard veillard at redhat.com
Mon Jun 4 13:33:46 UTC 2007


On Mon, Jun 04, 2007 at 06:28:26PM +0900, Atsushi SAKAI wrote:
> Hi, Daniel
> 
> I plan to post Xen/SEDF patch.
> Anyway I hope current patch will apply first,
> Since coding frame of this command is fixed previously.

  I'm going though your code right now. I find something suspicious:
in xenHypervisorGetSchedulerParameters you check

    /*
     * Support only dom_interface_version >=5
     * (Xen3.1.0 or later)
     */
    if (dom_interface_version < 5) {
        virXenError(VIR_ERR_NO_XEN, "xenHypervisorGetSchedulerParameters unsupported in dom interface < 5", 0);
        return -1;
    }

And I don't see why ! The two next hypercalls, the system one to get the
scheduler ID and the domain one to get the scheduler parameters both exist
on the xen-3.03 available for example in RHEL-5.0. So why exit with an
error there ?

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list