[IA64][HVM] Use vcpu info from getdomaininfo

This replaces the get/set_param using HVM_PARAM_VCPUS

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
This commit is contained in:
awilliam@xenbuild2.aw committed 2006-12-14 09:56:41 -07:00
1 parent 5a170ea5d6
commit a3e94225c7
3 files changed
+8 -13

No files matched your search

-4
View File
@@ -408,10 +408,6 @@ static PyObject *pyxc_hvm_build(XcObject *self,
&image, &vcpus, &pae, &acpi, &apic) )
return NULL;
#if defined(__ia64__)
/* Set vcpus to later be retrieved in setup_guest() */
xc_set_hvm_param(self->xc_handle, dom, HVM_PARAM_VCPUS, vcpus);
#endif
if ( xc_hvm_build(self->xc_handle, dom, memsize, image) != 0 )
return pyxc_error_to_exception();
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.