Skip to contentSkip to conversation

changing guest CD

DISCUSSION Stuart Jansen 3 participants 4 messages May 11, 2009 – May 13, 2009 KVM

lore
Share & tools
lore
#0 lore raw

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?

Signature · 2 lines
"XML is like violence: if it doesn't solve your problem, you aren't
using enough of it." - Chris Maden
#1 lore raw
Quoted 8 lines · 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?

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

Regards,

Anthony Liguori

#2 lore raw
Quoted 11 lines · Anthony Liguori
Quoted 8 lines · 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?

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.

Signature · 2 lines
"XML is like violence: if it doesn't solve your problem, you aren't
using enough of it." - Chris Maden
#3 lore raw
In reply to Stuart Jansen
Quoted 8 lines · 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?

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

Quoted 18 lines

to enter monitor from guest screen:

    <cntl><alt>2

to exit back to guest screen:

    <cntl><alt>1

changing a cd image:

(qemu) info block

<list of block devices>

(qemu) eject ide1-cd0
(qemu) change ide1-cd0 <target_file>

    <cntl><alt>1
Signature · 1 line
[email protected]