-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The issue you outlined below is not an openbsd issue, this is a kvm issue. and depends greatly on the version of linux/whatever you are using. The interrupt remapping you are talking about is either a bios issue (likely) or an issue with the hypervisor.
it sounds like to me you are using or attempting to use SRIOV. all of the issues that you mentioned are still relevent even with "safe interrupts", as well as several you did not mention. RG On 11/14/2013 03:15 PM, Giancarlo Razzolini wrote: > Em 14-11-2013 11:43, David Coppa escreveu: >> On Thu, Nov 14, 2013 at 2:33 PM, Giancarlo Razzolini >> <grazzol...@gmail.com> wrote: >>> Em 13-11-2013 22:40, Jeff Fuhrman escreveu: >>>> I'm the tech Bruno has been working with regarding this. QEMU >>>> version is 1.5 and the relevant section of the KVM Config >>>> file is " <vcpu>4</vcpu><cpu><topology sockets='1' cores='4' >>>> threads='1'/></cpu>". We've tried it with 2 sockets, with 4 >>>> sockets, with 2 threads, 4 threads, and so on. ACPI and APIC >>>> are enabled for the KVM Container. >>>> >>>> Jeff Fuhrman Level 2 Technician - BlueVM >>> I have the same issue using the same qemu version. Do you guys >>> also experience random lockups? I've seem sometimes the OpenBSD >>> VM sshd will simply stop answering. Also if I try to login >>> directly through the VM's console, when I insert the username >>> it will not prompt me for a password. The strangest thing is, >>> the machine still answer ping packets. I could not debug it >>> yet, since it happens randomly. I have to force a shutdown to >>> be able to access the machine again. >> Have you applied the patch for the errata below? >> >> for 5.4: >> >> http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/003_vnode.patch >> >> >> or for 5.3: >> >> http://ftp.openbsd.org/pub/OpenBSD/patches/5.3/common/010_vnode.patch > >> Not yet David, will look into it. I am moving almost all of my > infrastructure servers to virtualized ones. Even my firewall is > virtualized now. But I am experienced these random lockups now and > then. Will apply the patch and test it again. > > I do have another issue with running an OpenBSD guest in which it > wont do interrupt remapping so I have to enable an unsafe behavior > on kvm which allows it to do pci passthrough with "unsafe" > interrupts. There are some issues using this in which a privileged > user in the guest machine could escalate it's privileges on the > host and/or crash it. Anyway, this isn't a problem for me right > now, when I do have some time I'll look into it. > > Thanks, Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJShPfBAAoJEMrvovfl62c88fcIAIhs4nW2+Tv/TMlg/+ePvPpD o5twuabaHfim9iYMqyAHQEztR8Nm4eFWilrFE3AZP2zvoPHLvxWuApZe1rr03FIy CUnPlzhde+e38ggC0r5OQkV3tURpEWr3Uk7Yjzr2hxg47/syX15XYSEERtaSAaOY 3vv8Kt3IFXVZFHg+EM9dQCMMrNuXwxp2eg7Gej7S2Gv6mO7yWyniM7uhLTrqGwtP AFx36o6XSMzxqq4ooN8/seMMlnP075o45b8rhKHRRX4BgZ7eRI5z+ZglVJF9wSo7 GNPQZGWqwpfACDREOY/U0rmk4iG+RwBplKhprCZgnsvoQAJfdbFcOPVnzUDbpYQ= =lvPc -----END PGP SIGNATURE-----