diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2009-06-30 13:59:29 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2009-07-01 15:40:12 +0100 |
commit | 4513f2ec7b6aa843005ba886cdd1747b6ff00915 (patch) | |
tree | 3f60fef2b5647aee78c3b3f6911caba6b9218290 /daemon/guestfsd.c | |
parent | 202e11543ead0d21a8485879654c927ec95ea7f0 (diff) | |
download | libguestfs-4513f2ec7b6aa843005ba886cdd1747b6ff00915.tar.gz libguestfs-4513f2ec7b6aa843005ba886cdd1747b6ff00915.tar.xz libguestfs-4513f2ec7b6aa843005ba886cdd1747b6ff00915.zip |
Change to use virtio_blk (virtio block device) by default.
virtio_blk is the fast, virt-native block device driver
supported by qemu and KVM. Note that virtio_blk device
names are called /dev/vd*.
Existing scripts should continue working because device name
translation will silently change device names of the form
/dev/sd* to /dev/vd* as required.
See also:
http://libguestfs.org/guestfs.3.html#block_device_naming
Diffstat (limited to 'daemon/guestfsd.c')
-rw-r--r-- | daemon/guestfsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 7eabbd47..0a3e64f5 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -714,7 +714,7 @@ device_name_translation (char *device, const char *func) return 0; } - if (errno != ENXIO) { + if (errno != ENXIO && errno != ENOENT) { error: reply_with_perror ("%s: %s", func, device); return -1; |