1 PLEASE LOOK AT THE TOP OF EACH FILE BEFORE EDITING TO SEE WHETHER IT
2 IS AUTOMATICALLY GENERATED OR NOT.
5 ----------------------------------------------------------------------
7 All action functions are generated automatically, so there are only
8 two files you need to edit:
10 (1) src/generator.ml: Add your new action, parameters, description,
11 etc. to the big list called 'functions' at the top of this file.
13 (2) Edit/create a C file in daemon/ subdirectory which implements your
14 'do_action' function. Take a look at one of the numerous examples
17 You will need to run src/generator.ml (from the top directory) which
18 regenerates all the auto-generated files, and then continue with the
19 ordinary build process.
22 ----------------------------------------------------------------------
24 Try to use GNU / Emacs default formatting, following the convention
25 used elsewhere in the source.
27 Please make sure that the code compiles without warnings.
29 Please test any changes.
32 ----------------------------------------------------------------------
35 Outside contributions, experimental parts.
38 The daemon that runs inside the guest and carries out actions.
44 Guestfish (the command-line program / shell)
47 Some guest images to test against. These are gzipped to save
48 space. You have to unzip them before use.
50 Also contains some files used by the test suite.
53 Virtual machine image inspector (virt-inspector).
59 M4 macros used by autoconf.
74 Source code to the C library.
75 Also contains the crucial generator program.
78 ----------------------------------------------------------------------
80 It's a good idea to use guestfish to try out new commands.
82 Debugging the daemon is a problem because it runs inside a minimal
83 qemu environment. However you can print messages from the daemon, and
84 they will show up if you use 'guestfish -v'.
87 ----------------------------------------------------------------------
89 Submit patches to the fedora-virt mailing list:
90 http://www.redhat.com/mailman/listinfo/fedora-virt
91 and CC to rjones@redhat.com