Received: from [140.186.70.92] (port=57721 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2bNd-0003iV-MV for qemu-devel@nongnu.org; Wed, 23 Mar 2011 23:38:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2bNb-0004p3-PW for qemu-devel@nongnu.org; Wed, 23 Mar 2011 23:38:37 -0400 Received: from adelie.canonical.com ([91.189.90.139]:43221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2bNb-0004ou-LQ for qemu-devel@nongnu.org; Wed, 23 Mar 2011 23:38:35 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Q2bNZ-0004ma-SC for ; Thu, 24 Mar 2011 03:38:34 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 9CDBF2E8965 for ; Thu, 24 Mar 2011 03:38:33 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 24 Mar 2011 03:19:29 -0000 From: Anthony Liguori Sender: bounces@canonical.com References: <20101011184404.6472.99688.malonedeb@wampee.canonical.com> Message-Id: <20110324031929.13731.65011.malone@potassium.ubuntu.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 658610] Re: Check whether images have write permissions Reply-To: Bug 658610 <658610@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a legacy behavior in QEMU. There are a number of legitimate use cases where a user may only have read access to an image and as long as that image is mounted read-only, everything will work okay. Virtio and SCSI will expose the read-only attribute to the guest so it should be very obvious what's happening. Unfortunately, IDE does not support the concept of read-only. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/658610 Title: Check whether images have write permissions Status in QEMU: New Status in =E2=80=9Cqemu-kvm=E2=80=9D package in Ubuntu: Confirmed Bug description: KVM/Qemu should check whether the disk images have write permissions in order to prevent users from getting weird IO errors in their VMs without understanding what's happening.