红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

ubuntu 8.04 KVM中更换cdrom iso文件

ubuntu 8.04 KVM中更换cdrom iso文件

1. 启动kvm后,进入 monitor 模式 alt+ctl+2 返回 alt+ctl+1

2. 进入后 help

cdrom 的 device名为:ide1-cd0 而不是cdrom 了.

"the naming of certain block devices has changed in the newer qemu
  releases (for example, cdrom has been changed to ide1-cd0)."

Test VM is started by virt-manager using kvm with option -cdrom /path/cd1.iso .

Now in virsh:
virsh # attach-disk 1 /path/cd2.iso hdc --type cdrom
(nothing happens)

.libvirt/qemu/log/testvm.log says:
  change cdrom "/path/cd2.iso"

  device not found

That's because cdrom device name in kvm/qemu now is ide1-cd0.

This is on current hardy.

TOP

发新话题