[libvirt] Passing -no-kvm-irqchip to KVM/QEMU guests

Jim Paris jim at jtan.com
Mon Sep 14 01:33:01 UTC 2009


Garry Dolley wrote:
> Dear libvirt,
> 
> Is there a way to tell a KVM/QEMU guest managed by libvirt to start
> with the "-no-kvm-irqchip" argument?
> 
> I have some FreeBSD 7 guests with timing issues, and if I try to
> start the VMs manually with -no-kvm-irqchip, the timing issues go
> away (the only known workaround right now).
> 
> However, if the guest is managed by libvirt, I have found no way to
> pass this command line option.
> 
> I'm running libvirt 0.6.4 on Ubuntu 9.04

As a hack, you can point the XML file to a wrapper script instead of
the KVM binary, where the script would contain e.g.:

  #!/bin/sh
  exec /usr/bin/kvm "$@" -no-kvm-irqchip

-jim




More information about the libvir-list mailing list