i also issued the change ide-cd0 /home/xtong/qemu/qemu-0.14.1/x86_64-softmmu/ubuntu-11.10-server-amd64.iso in the qemu montoring tool. where can i find the inserted cd rom in the guest os ?
Xin On Mon, Apr 23, 2012 at 1:17 PM, Xin Tong <xerox.time.t...@gmail.com> wrote: > I tried to insert a cdrom using this command. but when i go under the > guest /dev/cdrom. i see nothing > > ./qemu-system-x86_64 -hda > /home/xtong/qemu/qemu-0.14.1/x86_64-softmmu/debian_lenny_amd64_standard.qcow2 > -cdrom > /home/xtong/qemu/qemu-0.14.1/x86_64-softmmu/ubuntu-11.10-server-amd64.iso > > > On Mon, Apr 23, 2012 at 5:04 AM, Zhi Yong Wu <zwu.ker...@gmail.com> wrote: >> On Mon, Apr 23, 2012 at 5:00 PM, Zhi Yong Wu <zwu.ker...@gmail.com> wrote: >>> On Mon, Apr 23, 2012 at 4:46 PM, Zhi Yong Wu <zwu.ker...@gmail.com> wrote: >>>> On Mon, Apr 23, 2012 at 4:41 PM, Zhi Yong Wu <zwu.ker...@gmail.com> wrote: >>>>> On Mon, Apr 23, 2012 at 4:29 PM, Stefan Hajnoczi <stefa...@gmail.com> >>>>> wrote: >>>>>> On Sun, Apr 22, 2012 at 5:37 PM, Xin Tong <xerox.time.t...@gmail.com> >>>>>> wrote: >>>>>>> i have an OS image that does not have network drivers. are there any >>>>>>> other ways to copy a benchmark onto the os image ? >>>>>> >>>>>> You can insert a CD-ROM: >>>>>> >>>>>> (qemu) info block >>>>>> ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok [not inserted] >>>>>> ... >>>>>> (qemu) change ide1-cd0 my-benchmark.iso >>>>>> >>>>>> Or you could attach a USB Mass Storage device if USB is enabled. >>>>> Or you can attach this os image to one VM with network drivers as its >>>>> second disk, then scp your benchmark file to this os image.:) >>>> Or if your benchmark file is small, you can create one floppy image >>>> where your benchmark files are, then start your VM with floppy. >>> Or you can use 9pfs. >> Or you can directly use libguestfs. >>>>> >>>>>> >>>>>> Stefan >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> >>>>> Zhi Yong Wu >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> >>>> Zhi Yong Wu >>> >>> >>> >>> -- >>> Regards, >>> >>> Zhi Yong Wu >> >> >> >> -- >> Regards, >> >> Zhi Yong Wu