X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=HACKING;h=c1888dfe2b311559b006cbda3abf5e8928c6c391;hp=b2fab3ed28ca4869b14a1b1cb414c17bda269e4d;hb=bddde7799b80b8292879634548c3c92a3cc1c044;hpb=f5d2602bf6d40ecc71a5a17e0be9f480e9a4453a diff --git a/HACKING b/HACKING index b2fab3e..c1888df 100644 --- a/HACKING +++ b/HACKING @@ -1,28 +1,2 @@ -Adding a new action ----------------------------------------------------------------------- - -All action functions are generated automatically, so there are only -two files you need to edit: - -(1) src/generator.ml: Add your new action, parameters, description, -etc. to the big list called 'functions' at the top of this file. - -(2) Edit/create a C file in daemon/ subdirectory which implements your -'do_action' function. Take a look at one of the numerous examples -there. - -You will need to run src/generator.ml (from the top directory) which -regenerates all the auto-generated files, and then continue with the -ordinary build process. - -Formatting ----------------------------------------------------------------------- - -Try to use GNU / Emacs default formatting, following the convention -used elsewhere in the source. - -Patches ----------------------------------------------------------------------- - -Submit patches to the fedora-virt mailing list: -http://www.redhat.com/mailman/listinfo/fedora-virt +The contents of this page have moved to the section "EXTENDING LIBGUESTFS" +in the guestfs(3) man page.