BUG: QEMU DVD-Rom

Nemesiz

Renowned Member
Jan 16, 2009
778
80
93
Lithuania
I noticed qemu dvd-rom bug. Creating VM with QEMU via proxmox web. My ISO image name was "long name with spacing.iso" So after i created VM web management shows me VM with no DVD-Rom. So i tryed to add a new one and then i noticed about ISO file name. I renamed ISO file to short name and now i can add DVD-Rom. But runing VM its shows 2 DVD-Rom.

QEMU shows:

ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (5120 MBytes)
ata0 slave: QEMU DVD_ROM ATAPI-4 CD-Rom/DVD-Rom
ata1 master: QEMU DVD_ROM ATAPI-4 CD-Rom/DVD-Rom

and config file:

#cat /etc/qemu-server/101.conf
name: win_xp
smp: 3
vlanu: e1000=3E:7D:EA:E1:47:FB,pcnet=02:BA:D6:F7:95:5C
bootdisk: ide0
ide0: vm-101-disk.qcow2
ostype: wxp
memory: 512
boot: dc
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
onboot: 0
ide1: Win_XP_SP3.iso,media=cdrom


So now i dont get it. Where another DVD-Rom comes from?

BTW proxmox is 1.1
 
I noticed qemu dvd-rom bug. Creating VM with QEMU via proxmox web. My ISO image name was "long name with spacing.iso" So after i created VM web management shows me VM with no DVD-Rom. So i tryed to add a new one and then i noticed about ISO file name. I renamed ISO file to short name and now i can add DVD-Rom. But runing VM its shows 2 DVD-Rom.

QEMU shows:

ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (5120 MBytes)
ata0 slave: QEMU DVD_ROM ATAPI-4 CD-Rom/DVD-Rom
ata1 master: QEMU DVD_ROM ATAPI-4 CD-Rom/DVD-Rom

and config file:

#cat /etc/qemu-server/101.conf
name: win_xp
smp: 3
vlanu: e1000=3E:7D:EA:E1:47:FB,pcnet=02:BA:D6:F7:95:5C
bootdisk: ide0
ide0: vm-101-disk.qcow2
ostype: wxp
memory: 512
boot: dc
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
onboot: 0
ide1: Win_XP_SP3.iso,media=cdrom


So now i dont get it. Where another DVD-Rom comes from?

BTW proxmox is 1.1

I can confirm the issue with the spaces in the filename, we will fix this - thanks for reporting.
 
This issue still exists in version 1.5 of Proxmox. If you remove the dvd-rom drive in hardware tab of vm config, when starting the kvm machine the qemu dvd-rom is still visible in bios bootup screen and later in windows xp.

Also I created the kvm container and removed immediately dvd-rom. After booting "empty" container, the dvd-rom is still there. Interestingly in the config file there is no dvd-rom entry.
 
This issue still exists in version 1.5 of Proxmox. If you remove the dvd-rom drive in hardware tab of vm config, when starting the kvm machine the qemu dvd-rom is still visible in bios bootup screen and later in windows xp.

Also I created the kvm container and removed immediately dvd-rom. After booting "empty" container, the dvd-rom is still there. Interestingly in the config file there is no dvd-rom entry.

can you post your 'pveversion -v'?
 
can you post your 'pveversion -v'?

I tested this issue on two hardware nodes, both have Proxmox 1.5 installed but different kernels. The problems exists in both configurations.

1:
pve-manager: 1.5-5 (pve-manager/1.5/4627)
running kernel: 2.6.18-1-pve
proxmox-ve-2.6.18: 1.5-4
pve-kernel-2.6.18-1-pve: 2.6.18-4
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-7
vncterm: 0.9-2
vzctl: 3.0.23-1pve5
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm-2.6.18: 0.9.1-4

2:
pve-manager: 1.5-5 (pve-manager/1.5/4627)
running kernel: 2.6.24-10-pve
proxmox-ve-2.6.24: 1.5-21
pve-kernel-2.6.24-10-pve: 2.6.24-21
pve-kernel-2.6.24-8-pve: 2.6.24-16
pve-kernel-2.6.18-1-pve: 2.6.18-4
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-7
vncterm: 0.9-2
vzctl: 3.0.23-1pve5
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.11.1-1

best regards.