* Changing CD Images (ISO files) in QEMU Console
@ 2009-11-02 12:52 Mr. Teo En Ming (Zhang Enming)
2009-11-02 13:11 ` Mr. Teo En Ming (Zhang Enming)
2009-11-11 19:25 ` Andrew Lyon
0 siblings, 2 replies; 4+ messages in thread
From: Mr. Teo En Ming (Zhang Enming) @ 2009-11-02 12:52 UTC (permalink / raw)
To: xen-devel, xen-users; +Cc: space.time.universe
[-- Attachment #1.1: Type: text/plain, Size: 879 bytes --]
Hi,
I have tried to change CD ISO images during a HVM install using the
following commands but it doesn't work. After changing the CD ISO image, it
doesn't detect the new ISO image.
(qemu) eject -f hdc
(qemu) change hdc /media/hitachi/cd-rom-image.iso
Any ideas?
--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
My Secondary Blog: http://enmingteo.wordpress.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Email: space.time.universe@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone (SingTel): +65-9648-9798
Mobile Phone (Starhub Prepaid): +65-8369-2618
Age: 31 (as at 30 Oct 2009)
Height: 1.78 meters
Race: Chinese
Dialect: Hokkien
Street: Bedok Reservoir Road
Country: Singapore
[-- Attachment #1.2: Type: text/html, Size: 1246 bytes --]
[-- Attachment #2: Type: text/plain, Size: 137 bytes --]
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Changing CD Images (ISO files) in QEMU Console
2009-11-02 12:52 Changing CD Images (ISO files) in QEMU Console Mr. Teo En Ming (Zhang Enming)
@ 2009-11-02 13:11 ` Mr. Teo En Ming (Zhang Enming)
2009-11-02 13:48 ` Vladimir Zidar
2009-11-11 19:25 ` Andrew Lyon
1 sibling, 1 reply; 4+ messages in thread
From: Mr. Teo En Ming (Zhang Enming) @ 2009-11-02 13:11 UTC (permalink / raw)
To: xen-devel, xen-users; +Cc: space.time.universe
[-- Attachment #1.1: Type: text/plain, Size: 1740 bytes --]
After I did a change command, I executed "info block" but it tells me "not
inserted".
--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
My Secondary Blog: http://enmingteo.wordpress.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Email: space.time.universe@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone (SingTel): +65-9648-9798
Mobile Phone (Starhub Prepaid): +65-8369-2618
Age: 31 (as at 30 Oct 2009)
Height: 1.78 meters
Race: Chinese
Dialect: Hokkien
Street: Bedok Reservoir Road
Country: Singapore
On Mon, Nov 2, 2009 at 8:52 PM, Mr. Teo En Ming (Zhang Enming) <
space.time.universe@gmail.com> wrote:
> Hi,
>
> I have tried to change CD ISO images during a HVM install using the
> following commands but it doesn't work. After changing the CD ISO image, it
> doesn't detect the new ISO image.
>
> (qemu) eject -f hdc
> (qemu) change hdc /media/hitachi/cd-rom-image.iso
>
> Any ideas?
>
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
> My Secondary Blog: http://enmingteo.wordpress.com
> My Youtube videos: http://www.youtube.com/user/enmingteo
> Email: space.time.universe@gmail.com
> MSN: teoenming@hotmail.com
> Mobile Phone (SingTel): +65-9648-9798
> Mobile Phone (Starhub Prepaid): +65-8369-2618
> Age: 31 (as at 30 Oct 2009)
> Height: 1.78 meters
> Race: Chinese
> Dialect: Hokkien
> Street: Bedok Reservoir Road
> Country: Singapore
>
[-- Attachment #1.2: Type: text/html, Size: 2771 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: Changing CD Images (ISO files) in QEMU Console
2009-11-02 13:11 ` Mr. Teo En Ming (Zhang Enming)
@ 2009-11-02 13:48 ` Vladimir Zidar
0 siblings, 0 replies; 4+ messages in thread
From: Vladimir Zidar @ 2009-11-02 13:48 UTC (permalink / raw)
To: xen-devel; +Cc: xen-users
I think that Mr. Teo En Ming is missing his weight and color of eyes in
signature.
Aren't there any rules about posting here? I understand that these are
not moderated, but 17 lines of signature and only one line of meaningful
text? it is pure spam, nothing else. Oh, yes, there is more. This post
contains not only 17 lines of signature, but yet another 17 lines of
quoted signature.
Sorry for going off topic.
Mr. Teo En Ming (Zhang Enming) wrote:
> After I did a change command, I executed "info block" but it tells me
> "not inserted".
>
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
> My Secondary Blog: http://enmingteo.wordpress.com
> My Youtube videos: http://www.youtube.com/user/enmingteo
> Email: space.time.universe@gmail.com
> <mailto:space.time.universe@gmail.com>
> MSN: teoenming@hotmail.com <mailto:teoenming@hotmail.com>
> Mobile Phone (SingTel): +65-9648-9798
> Mobile Phone (Starhub Prepaid): +65-8369-2618
> Age: 31 (as at 30 Oct 2009)
> Height: 1.78 meters
> Race: Chinese
> Dialect: Hokkien
> Street: Bedok Reservoir Road
> Country: Singapore
>
> On Mon, Nov 2, 2009 at 8:52 PM, Mr. Teo En Ming (Zhang Enming)
> <space.time.universe@gmail.com <mailto:space.time.universe@gmail.com>>
> wrote:
>
> Hi,
>
> I have tried to change CD ISO images during a HVM install using
> the following commands but it doesn't work. After changing the CD
> ISO image, it doesn't detect the new ISO image.
>
> (qemu) eject -f hdc
> (qemu) change hdc /media/hitachi/cd-rom-image.iso
>
> Any ideas?
>
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics)
> BEng(Hons)(Mechanical Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
> My Secondary Blog: http://enmingteo.wordpress.com
> My Youtube videos: http://www.youtube.com/user/enmingteo
> Email: space.time.universe@gmail.com
> <mailto:space.time.universe@gmail.com>
> MSN: teoenming@hotmail.com <mailto:teoenming@hotmail.com>
> Mobile Phone (SingTel): +65-9648-9798
> Mobile Phone (Starhub Prepaid): +65-8369-2618
> Age: 31 (as at 30 Oct 2009)
> Height: 1.78 meters
> Race: Chinese
> Dialect: Hokkien
> Street: Bedok Reservoir Road
> Country: Singapore
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Changing CD Images (ISO files) in QEMU Console
2009-11-02 12:52 Changing CD Images (ISO files) in QEMU Console Mr. Teo En Ming (Zhang Enming)
2009-11-02 13:11 ` Mr. Teo En Ming (Zhang Enming)
@ 2009-11-11 19:25 ` Andrew Lyon
1 sibling, 0 replies; 4+ messages in thread
From: Andrew Lyon @ 2009-11-11 19:25 UTC (permalink / raw)
To: Mr. Teo En Ming (Zhang Enming); +Cc: xen-devel, xen-users
On Mon, Nov 2, 2009 at 12:52 PM, Mr. Teo En Ming (Zhang Enming)
<space.time.universe@gmail.com> wrote:
> Hi,
>
> I have tried to change CD ISO images during a HVM install using the
> following commands but it doesn't work. After changing the CD ISO image, it
> doesn't detect the new ISO image.
>
> (qemu) eject -f hdc
> (qemu) change hdc /media/hitachi/cd-rom-image.iso
>
> Any ideas?
>
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
> My Secondary Blog: http://enmingteo.wordpress.com
> My Youtube videos: http://www.youtube.com/user/enmingteo
> Email: space.time.universe@gmail.com
> MSN: teoenming@hotmail.com
> Mobile Phone (SingTel): +65-9648-9798
> Mobile Phone (Starhub Prepaid): +65-8369-2618
> Age: 31 (as at 30 Oct 2009)
> Height: 1.78 meters
> Race: Chinese
> Dialect: Hokkien
> Street: Bedok Reservoir Road
> Country: Singapore
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>
I use a different method to change iso image for hvm domU:
Use xm block-list <domid> to find the cdrom be-path for the domain, for example:
xm block-list 5
Vdev BE handle state evt-ch ring-ref BE-path
768 0 0 4 9 16383 /local/domain/0/backend/vbd/5/768
5632 0 0 1 -1 -1 /local/domain/0/backend/vbd/5/5632
Having identified the cdrom device (5632) you can check what iso image
it is connected to:
xenstore-read /local/domain/0/backend/vbd/5/5632/params
(nothing returned)
To connect a new iso image:
xenstore-write /local/domain/0/backend/vbd/5/5632/params
/mnt/gl3-tb1_store/MWWin2003R2SvrStdx86_BX2SVOL_EN.iso
And you can now see that it is connected:
xenstore-read /local/domain/0/backend/vbd/5/5632/params
/mnt/gl3-tb1_store/MWWin2003R2SvrStdx86_BX2SVOL_EN.iso
This method works with both emulated devices and with gplpv drivers.
Andy
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-11-11 19:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-02 12:52 Changing CD Images (ISO files) in QEMU Console Mr. Teo En Ming (Zhang Enming)
2009-11-02 13:11 ` Mr. Teo En Ming (Zhang Enming)
2009-11-02 13:48 ` Vladimir Zidar
2009-11-11 19:25 ` Andrew Lyon
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.