All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David S. Ahern" <daahern@cisco.com>
To: Matt Burkhardt <mlb@imparisystems.com>
Cc: kvm@vger.kernel.org
Subject: Re: Mount and unmount CD Bug reporting
Date: Sun, 25 Apr 2010 09:45:28 -0600	[thread overview]
Message-ID: <4BD46398.6030709@cisco.com> (raw)
In-Reply-To: <1272209538.8137.7.camel@mlb-dell>

It's been a while since I dug into this, as I recall the media change
needs to be detected to flush cached data. I believe mounting and
unmounting the DVD in the host will work as well, as well as dropping
the cache on the host. I needed an event mechanism rather than polling
for a once in a blue moon change hence the patch.

It is not seen with newer OS versions (e.g., Fedora 11, 12) because of
the media polling (hal service I think).

David


On 04/25/2010 09:32 AM, Matt Burkhardt wrote:
> Thanks - but I don't feel comfortable hacking this - I wanted to try and
> get this reported as a bug, but the directions for submitting a bug are
> too restrictive for me to do this.  For example, it says that you have
> to install the latest version of kvm, run and compile it with different
> flags.  If I had a development box, I would be happy to do this, but
> without one, I can't come close to the requirements for submitting a
> bug.  Could someone else do this?  Since two of us are having the same
> issue with two different versions of RHEL, it seems like it would point
> to a bug....
> 
> On Fri, 2010-04-23 at 12:52 -0600, David S. Ahern wrote:
>> oops. the previous patch rides on top of this one.
>>
>> David
>>
>>
>> On 04/23/2010 12:18 PM, David S. Ahern wrote:
>> > I saw this with RHEL5.3. I ended up hacking qemu to re_open the CD every
>> > so often. See attached.
>> > 
>> > David
>> > 
>> > 
>> > On 04/23/2010 09:10 AM, Matt Burkhardt wrote:
>> >> I'm having a problem with a virtual machine running under RHEL 5.4
>> >> 64-bit.  I take out the CD / insert a new and the main machine sees the
>> >> new cd and makes it available.  However, the virtual machines still see
>> >> the old CD.  I've tried mounting the new CD, but it just keeps mounting
>> >> what it "thinks" is in there - the old one.
>> >>
>> >> Any ideas?
>> >>
>> >>
>> >> Matt Burkhardt
>> >> Impari Systems, Inc.
>> >>
>> >> mlb@imparisystems.com <mailto:mlb@imparisystems.com>
>> >> http://www.imparisystems.com 
>> >> http://www.linkedin.com/in/mlburkhardt 
>> >> http://www.twitter.com/matthewboh
>> >> 502 Fairview Avenue
>> >> Frederick, MD  21701
>> >> work (301) 682-7901
>> >> cell   (301) 802-3235
>> >>
>> >>
>> >>
>> >> --
>> >> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> >> the body of a message to majordomo@vger.kernel.org <mailto:majordomo@vger.kernel.org>
>> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> >>
> 
> 
> Matt Burkhardt
> Impari Systems, Inc.
> 
> mlb@imparisystems.com <mailto:mlb@imparisystems.com>
> http://www.imparisystems.com
> http://www.linkedin.com/in/mlburkhardt
> http://www.twitter.com/matthewboh
> 502 Fairview Avenue
> Frederick, MD  21701
> work (301) 682-7901
> cell   (301) 802-3235
> 
> 

      parent reply	other threads:[~2010-04-25 15:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-23 15:10 Mount and unmount CD Matt Burkhardt
2010-04-23 18:18 ` David S. Ahern
2010-04-23 18:52   ` David S. Ahern
     [not found]     ` <1272209538.8137.7.camel@mlb-dell>
2010-04-25 15:45       ` David S. Ahern [this message]

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=4BD46398.6030709@cisco.com \
    --to=daahern@cisco.com \
    --cc=kvm@vger.kernel.org \
    --cc=mlb@imparisystems.com \
    /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.