Generated code for the virtio_blk change.

This commit is contained in:
Richard W.M. Jones
2009-06-30 14:01:40 +01:00
parent 4513f2ec7b
commit 896079e29b
7 changed files with 233 additions and 288 deletions

View File

@@ -197,7 +197,7 @@ class GuestFS:
to modify the image).
This is equivalent to the qemu parameter "-drive
file=filename,cache=off".
file=filename,cache=off,if=virtio".
Note that this call checks for the existence of
"filename". This stops you from specifying other types
@@ -234,7 +234,7 @@ class GuestFS:
although qemu can support this.
This is equivalent to the qemu parameter "-drive
file=filename,snapshot=on".
file=filename,snapshot=on,if=virtio".
Note that this call checks for the existence of
"filename". This stops you from specifying other types
@@ -1948,6 +1948,10 @@ class GuestFS:
"-rwxr-xr-x", and 002 which creates new files with
permissions like "-rw-rw-r--" or "-rwxrwxr-x".
The default umask is 022. This is important because it
means that directories and device nodes will be created
with 0644 or 0755 mode even if you specify 0777.
See also umask(2), "g.mknod", "g.mkdir".
This call returns the previous umask.