changing guest CD

2009-05-11 Thread Stuart Jansen
Does KVM support changing the CD in a running guest's disc drive? I've
tried to do it using the qemu monitor, but so far haven't been able to.
I've seen rumor and innuendo that KVM can't change the disc in a running
system, but no official confirmation yet.

If KVM doesn't support changing the disc in a running system, what would
be required to support it?

-- 
"XML is like violence: if it doesn't solve your problem, you aren't
using enough of it." - Chris Maden

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: changing guest CD

2009-05-11 Thread Anthony Liguori

Stuart Jansen wrote:

Does KVM support changing the CD in a running guest's disc drive? I've
tried to do it using the qemu monitor, but so far haven't been able to.
I've seen rumor and innuendo that KVM can't change the disc in a running
system, but no official confirmation yet.

If KVM doesn't support changing the disc in a running system, what would
be required to support it?
  


It does via the change command.  What did you try and how did it fail?

Regards,

Anthony Liguori


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: changing guest CD

2009-05-11 Thread john cooper

Stuart Jansen wrote:

Does KVM support changing the CD in a running guest's disc drive? I've
tried to do it using the qemu monitor, but so far haven't been able to.
I've seen rumor and innuendo that KVM can't change the disc in a running
system, but no official confirmation yet.

If KVM doesn't support changing the disc in a running system, what would
be required to support it?



The following worked for me when doing a
guest install from multiple CD iso images:

> to enter monitor from guest screen:
>
> 2
>
> to exit back to guest screen:
>
> 1
>
> changing a cd image:
>
> (qemu) info block
>
> 
>
> (qemu) eject ide1-cd0
> (qemu) change ide1-cd0 
>
> 1


--
john.coo...@third-harmonic.com
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: changing guest CD

2009-05-13 Thread Stuart Jansen
On Mon, 2009-05-11 at 17:13 -0500, Anthony Liguori wrote:
> Stuart Jansen wrote:
> > Does KVM support changing the CD in a running guest's disc drive? I've
> > tried to do it using the qemu monitor, but so far haven't been able to.
> > I've seen rumor and innuendo that KVM can't change the disc in a running
> > system, but no official confirmation yet.
> >
> > If KVM doesn't support changing the disc in a running system, what would
> > be required to support it?
> >   
> 
> It does via the change command.  What did you try and how did it fail?

I've been using both libvirt and raw qemu monitor with Fedora 11 KVM
RPMs. After further testing, while F11 doesn't work, F10 does. Guess
it's time to see if Fedora bugzilla already has a report.

-- 
"XML is like violence: if it doesn't solve your problem, you aren't
using enough of it." - Chris Maden

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html