summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-06-30 14:01:40 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-07-01 15:40:13 +0100
commit896079e29b4d49c6c18ac3316a94bfbe2f307648 (patch)
treef1151bf3085ab574501f91d4d88d3bce31a93402 /java
parent4513f2ec7b6aa843005ba886cdd1747b6ff00915 (diff)
downloadlibguestfs-896079e29b4d49c6c18ac3316a94bfbe2f307648.tar.gz
libguestfs-896079e29b4d49c6c18ac3316a94bfbe2f307648.tar.xz
libguestfs-896079e29b4d49c6c18ac3316a94bfbe2f307648.zip
Generated code for the virtio_blk change.
Diffstat (limited to 'java')
-rw-r--r--java/com/redhat/et/libguestfs/GuestFS.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/java/com/redhat/et/libguestfs/GuestFS.java b/java/com/redhat/et/libguestfs/GuestFS.java
index 3cb1c7f3..cc94a987 100644
--- a/java/com/redhat/et/libguestfs/GuestFS.java
+++ b/java/com/redhat/et/libguestfs/GuestFS.java
@@ -427,7 +427,7 @@ public HashMap<String,String> test0rhashtableerr ()
* to modify the image).
* <p>
* This is equivalent to the qemu parameter "-drive
- * file=filename,cache=off".
+ * file=filename,cache=off,if=virtio".
* <p>
* Note that this call checks for the existence of
* "filename". This stops you from specifying other types
@@ -488,7 +488,7 @@ public HashMap<String,String> test0rhashtableerr ()
* although qemu can support this.
* <p>
* This is equivalent to the qemu parameter "-drive
- * file=filename,snapshot=on".
+ * file=filename,snapshot=on,if=virtio".
* <p>
* Note that this call checks for the existence of
* "filename". This stops you from specifying other types
@@ -4034,6 +4034,10 @@ public HashMap<String,String> test0rhashtableerr ()
* "-rwxr-xr-x", and 002 which creates new files with
* permissions like "-rw-rw-r--" or "-rwxrwxr-x".
* <p>
+ * 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.
+ * <p>
* See also umask(2), "g.mknod", "g.mkdir".
* <p>
* This call returns the previous umask.