Add the args line to /etc/qemu-server/<vid>.conf
To change cpu type add to args parameter
-cpu <type>
I suggest using type "host".
So to add all things you shoud put this line in config:
args: -pcidevice host=05:02.0 -cpu host
Also I think you just have to unload the driver...
I've got new kernel and passtrough works great.
To do that you shoud modify your config file and add line:
args: -pcidevice host=00:00.0
Where 00:00.0 is address of your device. You can get it for example from lspci.
And one thing: remember to unload pci driver/module from host...
Hi,
I've got quick question:
are there any implementation of VIRTIO drivers for FreeBSD?
I'm trying to mount some home file server and transfers are bad :/
I'm trying to identify if the bottleneck is net or drive, but I'm afraid that both are the problem.
Ide disk shouldn't be a problem, I use it on FreeNAS
ostype: other
memory: 1024
sockets: 1
name: FreeNAS
bootdisk: scsi0
scsi0: local:101/vm-101-disk-1.raw
boot: c
freeze: 0
cpuunits: 8000
acpi: 1
kvm: 1
ide0...
In that moment yes, there was no point in using customized (or in fact I'm too lazy to make new one while everything works fine ;-)). Also I'm trying to find some info about anyone trying to implement VIRTIO drivers.
That looks very strange even for raid 5 without write cache. I've got similar output on one old PATA drive. You could try doing hdparm -tT /dev/<drive> and check is it really a drive problem.
PS: are you sure that your raid isn't degraded?
That depends on configuration. You can easily disable cache by expanding one line in the config, for exaple you have file /etc/qemu-server/101.conf (or any other config):
scsi0: local:101/vm-101-disk-1.raw
You can change this to:
scsi0: local:101/vm-101-disk-1.raw,cache=none
More...
Unfortunately fbsd is not best OS for virtualization. I know, that apic sometimes causes problems with clock and stability. First of all try adding hint.apic.0.disabled="1" to /boot/loader.conf and restarting the system.
BTW: what is the time of executing command "sleep 1"? ;-)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.