mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
[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:
1 parent
5a170ea5d6
commit
a3e94225c7
3 files changed
+8
-13
No files matched your search
@@ -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();
|
||||
|
||||
|
||||