diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-09-28 14:39:31 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-09-28 14:52:56 +0100 |
commit | 04fbcc63ebf5718608f199eb6b09061cd32283c3 (patch) | |
tree | 1df1bb78ce7df4f9363ca8ca41e567026aea2d8a /src/guestfs-internal.h | |
parent | 8403f5a9d8f1451e2c2b029b51bac18724b18ebf (diff) | |
download | libguestfs-04fbcc63ebf5718608f199eb6b09061cd32283c3.tar.gz libguestfs-04fbcc63ebf5718608f199eb6b09061cd32283c3.tar.xz libguestfs-04fbcc63ebf5718608f199eb6b09061cd32283c3.zip |
New API: set-smp, get-smp
These calls allow you to change the number of virtual CPUs assigned to
the appliance.
This also adds a --smp option to virt-rescue.
Diffstat (limited to 'src/guestfs-internal.h')
-rw-r--r-- | src/guestfs-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index c0a2be48..494003ef 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -170,6 +170,8 @@ struct guestfs_h int pgroup; /* Create process group for children? */ + int smp; /* If > 1, -smp flag passed to qemu. */ + char *last_error; int last_errnum; /* errno, or 0 if there was no errno */ |