pve errors

ashes

Member
Feb 1, 2010
33
0
6
Hi.
I'm running:

pve-manager: 1.7-11 (pve-manager/1.7/5470)
running kernel: 2.6.35-1-pve
proxmox-ve-2.6.35: 1.7-9
pve-kernel-2.6.35-1-pve: 2.6.35-9
qemu-server: 1.1-28
pve-firmware: 1.0-10
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-10
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.13.0-3
ksm-control-daemon: 1.0-4

when i try to pass pci card to VM i have following errors:

qm start 103
kvm: Parameter 'id' expects an identifier
Identifiers consist of letters, digits, '-', '.', '_', starting with a letter.
pcidevice argument parse error; please check the help text for usage
Could not add assigned device host=0a:00.0
start failed: command '/usr/bin/kvm -monitor unix:/var/run/qemu-server/103.mon,server,nowait -vnc unix:/var/run/qemu-server/103.vnc,password -pidfile /var/run/qemu-server/103.pid -daemonize -usbdevice tablet -pcidevice host=0a:00.0 -name example.com -smp sockets=2,cores=1 -nodefaults -boot menu=on -vga cirrus -tdf -localtime -rtc-td-hack -k en-us -drive if=ide,index=2,media=cdrom -drive file=/dev/STORAGE/vm-103-disk-1,if=virtio,index=0,boot=on -m 2048 -netdev type=tap,id=vlan0d0,ifname=tap103i0d0,script=/var/lib/qemu-server/bridge-vlan,vhost=on -device virtio-net-pci,mac=DE:8E:76:29:FE:4E,netdev=vlan0d0' failed with exit code 1

vm config:

name: example.com
ide2: cdrom,media=cdrom
vlan0: virtio=DE:8E:76:29:FE:4E
bootdisk: virtio0
virtio0: STORAGE:vm-103-disk-1
ostype: w2k8
memory: 2048
sockets: 2
hostpci: 0a:00.0


lspci |grep 0a:00.0
0a:00.0 RAID bus controller: 3ware Inc 9650SE SATA-II RAID (rev 01)


with this configuration file everything looks good

name: example.com
ide2: cdrom,media=cdrom
vlan0: virtio=DE:8E:76:29:FE:4E
bootdisk: virtio0
virtio0: STORAGE:vm-103-disk-1
ostype: w2k8
memory: 2048
sockets: 2
#hostpci: 0a:00.0
args: -device pci-assign,host=0a:00.0


# qm showcmd 103
/usr/bin/kvm -monitor unix:/var/run/qemu-server/103.mon,server,nowait -vnc unix:/var/run/qemu-server/103.vnc,password -pidfile /var/run/qemu-server/103.pid -daemonize -usbdevice tablet -name example.com -smp sockets=2,cores=1 -nodefaults -boot menu=on -vga cirrus -tdf -localtime -rtc-td-hack -k en-us -drive if=ide,index=2,media=cdrom -drive file=/dev/STORAGE/vm-103-disk-1,if=virtio,index=0,boot=on -m 2048 -netdev type=tap,id=vlan0d0,ifname=tap103i0d0,script=/var/lib/qemu-server/bridge-vlan,vhost=on -device virtio-net-pci,mac=DE:8E:76:29:FE:4E,netdev=vlan0d0 -device pci-assign,host=0a:00.0