[Libguestfs] [PATCH] set-smp: only set smp value at config time

Richard W.M. Jones rjones at redhat.com
Thu Feb 23 09:34:39 UTC 2012


On Thu, Feb 23, 2012 at 05:15:24PM +0800, Wanlong Gao wrote:
> On 02/23/2012 04:45 PM, Richard W.M. Jones wrote:
> 
> > There are some problems with this patch, but mainly see
> > my comments on this bug:
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=796520
> 
> 
> Rich:
> 
> Did you mean adding a ConfigOnly flag to each non-daemon-function?

Yes, to all the ones in the first list:

https://bugzilla.redhat.com/show_bug.cgi?id=796520#c2

so eg:

-  ("add_cdrom", (RErr, [String "filename"], []), -1, [DeprecatedBy "add_drive_opts"],
+  ("add_cdrom", (RErr, [String "filename"], []), -1, [DeprecatedBy "add_drive_opts"; ConfigOnly],

and then of course the generator has to be changed.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list