search for: domain_lookup

Displaying 6 results from an estimated 6 matches for "domain_lookup".

2011 Feb 21
2
self.prepend_view_path - am I missing something
...the model but it is easier varying static text in the views and then sharing the form templates via partials etc. Rails 2.3.10 and looking at the documentation at http://rubydoc.info/docs/rails/2.3.8/ActionController/Base#prepend_view_path-instance_method application_controller.rb before_filter :domain_lookup, :set_view_paths protected def set_view_paths self.prepend_view_path "app/views/#{controller_name}/ #{@domain.policy.policy_type}" end according to the documentation this should add this path to the front of the search order for this request only (as opposed to the similar cl...
2009 Mar 29
5
Problems installing guest domains
...vDir.py", line 71, in getChild val = self.get(x) File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 52, in get return self.domain(x) File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 44, in domain dom = self.xd.domain_lookup(x) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 529, in domain_lookup raise XendInvalidDomain(str(domid)) XendInvalidDomain: <Fault 3: ''test1''> So, now I try doing what looks like the manual way - creating a config file in /etc/xe...
2005 Sep 09
0
[PATCH] Call dominfo.device_delete instead of non-existant dominfo.device_destroy
...) diff -r 41a74438bcba tools/python/xen/xend/XendDomain.py --- a/tools/python/xen/xend/XendDomain.py Fri Sep 9 18:36:48 2005 +++ b/tools/python/xen/xend/XendDomain.py Fri Sep 9 14:46:01 2005 @@ -667,7 +667,7 @@ @param type: device type """ dominfo = self.domain_lookup(id) - val = dominfo.device_destroy(type, devid) + val = dominfo.device_delete(type, devid) dominfo.exportToDB() return val -- __________________________________________________________________ Sean Dague Mid-Hudson Valley se...
2005 Jun 07
8
[PATCH] add dom0 vcpu hotplug control
...t'', diff -urN a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py --- a/tools/python/xen/xend/XendDomain.py 2005-06-06 22:05:32.000000000 -0500 +++ b/tools/python/xen/xend/XendDomain.py 2005-06-07 16:51:43.090341819 -0500 @@ -703,6 +703,10 @@ dominfo = self.domain_lookup(id) return dominfo.mem_target_set(target) + def domain_vcpu_hotplug(self, id, vcpu, state): + dominfo = self.domain_lookup(id) + return dominfo.vcpu_hotplug(vcpu, state) + def instance(): diff -urN a/tools/python/xen/xend/XendDomainInfo.py b/tools/py...
2005 Sep 13
1
[RESEND] [PATCH] Call dominfo.device_delete instead of non-existant dominfo.device_destroy
This is a resend on the patch from late last week as I haven''t seen it in the changelog yet. Comments welcomed if there is an issue with the patch. -Sean -- __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net
2006 Mar 07
8
[PATCH] xm,xend: flesh out xm sched-sedf
...Harper <ryanh@us.ibm.com> --- diff -r f14e12b3327a tools/python/xen/xend/XendDomain.py --- a/tools/python/xen/xend/XendDomain.py Tue Mar 7 23:09:23 2006 +++ b/tools/python/xen/xend/XendDomain.py Tue Mar 7 17:18:16 2006 @@ -487,7 +487,17 @@ """ dominfo = self.domain_lookup(domid) try: - return xc.sedf_domain_get(dominfo.getDomid()) + + sedf_info = xc.sedf_domain_get(dominfo.getDomid()) + # return sxpr + return [''sedf'', + [''domain'', sedf_info['...