Hello all out there!
I like to use a AVM Fritzcard installed in the server in a vm.
Therefore I blacklisted the ISDN-modules in the host-system:
/etc/modprobe.d/blacklist:
...
# Blacklisting der Fritz!Card-Module, um sie zur VM durchzureichen:
blacklist mISDN_core
blacklist mISDNipac
blacklist avmfritz
Afterwards I've edited the qemu-config-file and added the parameter hostpci:
/etc/qemu-server/109.conf:
name: Hylafax
ide2: local:iso/clonezilla-live-1.2.6-40-i686.iso,media=cdrom
vlan0: e1000=0A:31:CE5:AE:1F
bootdisk: ide0
ostype: l26
ide0: local:109/vm-109-disk-1.raw
memory: 512
sockets: 1
hostpci: 01:03.0
When I start the vm 109 using proxmox the vm crashes before it starts booting but I don't get any log, in /var/log/messages there is just an entry:
kvmserver kernel: pci-stub 0000:01:03.0: claimed by stub
In /var/log/syslog is just said:
Dec 3 19:54:06 kvmserver pvedaemon[4753]: starting VM 109 on node 0 (localhost)
Dec 3 19:54:06 kvmserver qm[4754]: VM 109 start
Dec 3 19:54:06 kvmserver kernel: pci-stub 0000:01:03.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900103)
Dec 3 19:54:06 kvmserver kernel: device vmtab109i0 entered promiscuous mode
Dec 3 19:54:06 kvmserver kernel: vmbr0: port 9(vmtab109i0) entering forwarding state
Dec 3 19:54:07 kvmserver qm[4754]: VM 109 start failed: command '/usr/bin/kvm -monitor unix:/var/run/qemu-server/109.mon,server,nowait -vnc unix:/var/run/qemu-server/109.vnc,password -pidfile /var/run/qemu-server/109.pid -daemonize -usbdevice tablet -pcidevice host=01:03.0 -name Hylafax -smp sockets=1,cores=1 -nodefaults -boot menu=on -vga cirrus -tdf -k de -drive file=/var/lib/vz/images/109/vm-109-disk-1.raw,if=ide,index=0,boot=on -drive file=/var/lib/vz/template/iso/clonezilla-live-1.2.6-40-i686.iso,if=ide,index=2,media=cdrom -m 512 -net tap,vlan=0,ifname=vmtab109i0,script=/var/lib/qemu-server/bridge-vlan -net nic,vlan=0,model=e1000,macaddr=0A:31:CE5:AE:1F -id 109 -cpuunits 1000' failed with exit code 1
Dec 3 19:54:07 kvmserver pvedaemon[4753]: VM 109 start failed -
Does anyone have any hint?
Regards, Yves
I like to use a AVM Fritzcard installed in the server in a vm.
Therefore I blacklisted the ISDN-modules in the host-system:
/etc/modprobe.d/blacklist:
...
# Blacklisting der Fritz!Card-Module, um sie zur VM durchzureichen:
blacklist mISDN_core
blacklist mISDNipac
blacklist avmfritz
Afterwards I've edited the qemu-config-file and added the parameter hostpci:
/etc/qemu-server/109.conf:
name: Hylafax
ide2: local:iso/clonezilla-live-1.2.6-40-i686.iso,media=cdrom
vlan0: e1000=0A:31:CE5:AE:1F
bootdisk: ide0
ostype: l26
ide0: local:109/vm-109-disk-1.raw
memory: 512
sockets: 1
hostpci: 01:03.0
When I start the vm 109 using proxmox the vm crashes before it starts booting but I don't get any log, in /var/log/messages there is just an entry:
kvmserver kernel: pci-stub 0000:01:03.0: claimed by stub
In /var/log/syslog is just said:
Dec 3 19:54:06 kvmserver pvedaemon[4753]: starting VM 109 on node 0 (localhost)
Dec 3 19:54:06 kvmserver qm[4754]: VM 109 start
Dec 3 19:54:06 kvmserver kernel: pci-stub 0000:01:03.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900103)
Dec 3 19:54:06 kvmserver kernel: device vmtab109i0 entered promiscuous mode
Dec 3 19:54:06 kvmserver kernel: vmbr0: port 9(vmtab109i0) entering forwarding state
Dec 3 19:54:07 kvmserver qm[4754]: VM 109 start failed: command '/usr/bin/kvm -monitor unix:/var/run/qemu-server/109.mon,server,nowait -vnc unix:/var/run/qemu-server/109.vnc,password -pidfile /var/run/qemu-server/109.pid -daemonize -usbdevice tablet -pcidevice host=01:03.0 -name Hylafax -smp sockets=1,cores=1 -nodefaults -boot menu=on -vga cirrus -tdf -k de -drive file=/var/lib/vz/images/109/vm-109-disk-1.raw,if=ide,index=0,boot=on -drive file=/var/lib/vz/template/iso/clonezilla-live-1.2.6-40-i686.iso,if=ide,index=2,media=cdrom -m 512 -net tap,vlan=0,ifname=vmtab109i0,script=/var/lib/qemu-server/bridge-vlan -net nic,vlan=0,model=e1000,macaddr=0A:31:CE5:AE:1F -id 109 -cpuunits 1000' failed with exit code 1
Dec 3 19:54:07 kvmserver pvedaemon[4753]: VM 109 start failed -
Does anyone have any hint?
Regards, Yves
Last edited: