From owner-svn-src-user@FreeBSD.ORG Fri Nov 28 21:08:25 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13036D9E; Fri, 28 Nov 2014 21:08:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F3ED527A; Fri, 28 Nov 2014 21:08:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sASL8OwD028047; Fri, 28 Nov 2014 21:08:24 GMT (envelope-from marcel@FreeBSD.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sASL8Oom028045; Fri, 28 Nov 2014 21:08:24 GMT (envelope-from marcel@FreeBSD.org) Message-Id: <201411282108.sASL8Oom028045@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marcel set sender to marcel@FreeBSD.org using -f From: Marcel Moolenaar Date: Fri, 28 Nov 2014 21:08:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r275216 - user/marcel/libvdsk/libvdsk X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2014 21:08:25 -0000 Author: marcel Date: Fri Nov 28 21:08:23 2014 New Revision: 275216 URL: https://svnweb.freebsd.org/changeset/base/275216 Log: Flag VHD and VMDK as writable formats now that the probe seems to work and seems to respect the flag. Modified: user/marcel/libvdsk/libvdsk/vhd.c user/marcel/libvdsk/libvdsk/vmdk.c Modified: user/marcel/libvdsk/libvdsk/vhd.c ============================================================================== --- user/marcel/libvdsk/libvdsk/vhd.c Fri Nov 28 21:04:28 2014 (r275215) +++ user/marcel/libvdsk/libvdsk/vhd.c Fri Nov 28 21:08:23 2014 (r275216) @@ -88,7 +88,7 @@ vhd_flush(struct vdsk *vdsk __unused) static struct vdsk_format vhd_format = { .name = "vhd", .description = "Virtual Hard Disk", - .flags = VDSKFMT_HAS_HEADER, + .flags = VDSKFMT_CAN_WRITE | VDSKFMT_HAS_HEADER, .probe = vhd_probe, .open = vhd_open, .close = vhd_close, Modified: user/marcel/libvdsk/libvdsk/vmdk.c ============================================================================== --- user/marcel/libvdsk/libvdsk/vmdk.c Fri Nov 28 21:04:28 2014 (r275215) +++ user/marcel/libvdsk/libvdsk/vmdk.c Fri Nov 28 21:08:23 2014 (r275216) @@ -88,7 +88,7 @@ vmdk_flush(struct vdsk *vdsk __unused) static struct vdsk_format vmdk_format = { .name = "vmdk", .description = "Virtual Machine Disk", - .flags = VDSKFMT_HAS_HEADER, + .flags = VDSKFMT_CAN_WRITE | VDSKFMT_HAS_HEADER, .probe = vmdk_probe, .open = vmdk_open, .close = vmdk_close,