All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Crash: When Host HDD is full
Date: Thu, 12 Jul 2007 17:22:36 +0100	[thread overview]
Message-ID: <20070712162236.GE20008@redhat.com> (raw)
In-Reply-To: <4696530A.2010000@qumranet.com>

On Thu, Jul 12, 2007 at 07:12:58PM +0300, Avi Kivity wrote:
> Mike Swanson wrote:
> >On Wednesday 11 July 2007 08:19:48 Alexey Eremenko wrote:
> >  
> >>Problem 1:
> >>When Host HDD is full, all guests simply crash. Tried with dynamically
> >>growing .VMDK hard disk.
> >>
> >>It shouldn't happen. For example, both VirtualPC and VirtualBox pause
> >>all VMs, and gray their displays when something like that happens.
> >>    
> >
> >IMO, it's a non-issue; you probably shouldn't be letting your filesystems 
> >to become full in the first place, much less running VMs on it. 
> 
> Well, he shouldn't, but neither should qemu crash or corrupt data.

It should be propagating any IO errors in the host back up to the guest
OS as IDE errors. The guest OS will see these and (in the case of Linux)
take the filesystem offline. There should be no crash or data corruption.
While any outstanding writes will not have been flushed with any reasonable
filesystem it will recover upon reboot, either by fsck, or trivially 
recovering the journal & maintaining filesystem integrity.

Potentially ENOSPC could be handled as a special case by pausing the 
guest, but in general I/O errors can be propagated back to guest for
handling (even if the guest merely takes things ofline).

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

  parent reply	other threads:[~2007-07-12 16:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-11 15:19 [Qemu-devel] Crash: When Host HDD is full Alexey Eremenko
2007-07-12 15:07 ` Mike Swanson
2007-07-12 16:12   ` Avi Kivity
2007-07-12 16:17     ` Paul Brook
2007-07-12 16:38       ` Avi Kivity
2007-07-12 17:03         ` Paul Brook
2007-07-12 17:13           ` Avi Kivity
2007-07-12 16:22     ` Daniel P. Berrange [this message]
2007-07-12 16:40       ` Avi Kivity
2007-07-12 18:36       ` andrzej zaborowski
2007-07-12 20:39         ` Alexey Eremenko
2007-07-19  7:25           ` Adam Bolte
2007-07-19 11:10             ` Andreas Färber
2007-07-19 11:35               ` Alexey Eremenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070712162236.GE20008@redhat.com \
    --to=berrange@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.