set_smp


Description:

[ Version ( since = "1.13.15" ) ]
public bool set_smp (int32 smp) throws Error

set number of virtual CPUs in appliance

Change the number of virtual CPUs assigned to the appliance. The default is @1. Increasing this may improve performance, though often it has no effect.

This function must be called before launch.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error