freebsd-dev/sys
Neel Natu c6a0cc2e21 Some Linux guests will implement a 'halt' by disabling the APIC and executing
the 'HLT' instruction. This condition was detected by 'vm_handle_hlt()' and
converted into the SPINDOWN_CPU exitcode . The bhyve(8) process would exit
the vcpu thread in response to a SPINDOWN_CPU and when the last vcpu was
spun down it would reset the virtual machine via vm_suspend(VM_SUSPEND_RESET).

This functionality was broken in r263780 in a way that made it impossible
to kill the bhyve(8) process because it would loop forever in
vm_handle_suspend().

Unbreak this by removing the code to spindown vcpus. Thus a 'halt' from
a Linux guest will appear to be hung but this is consistent with the
behavior on bare metal. The guest can be rebooted by using the bhyvectl
options '--force-reset' or '--force-poweroff'.

Reviewed by:	grehan@
2014-04-29 18:42:56 +00:00
..
amd64 Some Linux guests will implement a 'halt' by disabling the APIC and executing 2014-04-29 18:42:56 +00:00
arm Add SMP support for Zedboard. 2014-04-29 17:48:57 +00:00
boot Turn off various fancy instruction sets, as well as deduplicate some options. 2014-04-28 18:25:21 +00:00
bsm IFp4 @1192291: 2014-04-07 20:44:00 +00:00
cam Remove limits on size of READ/WRITE operations. 2014-04-24 16:19:49 +00:00
cddl Fix ZIO reordering done by vdev_queue_io causing panics when zio_vdev_io_start 2014-04-28 09:00:00 +00:00
compat In freebsd32_sendmsg(), replace the call to sockargs() followed by a 2014-04-05 18:56:01 +00:00
conf Add preliminary support for the Realtek RTL8188EUS and RTL8188ETV chipsets. 2014-04-25 08:01:22 +00:00
contrib Note that the AR9380 and later hardware supports MYBEACON. 2014-04-27 23:37:39 +00:00
crypto NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
ddb ddb: Minor style cleanups. 2014-03-31 16:37:41 +00:00
dev Add proto(4): A driver for prototyping and diagnostics. 2014-04-28 17:58:40 +00:00
fs The PR reported that the old NFS server did not set uio_td == NULL 2014-04-24 20:47:58 +00:00
gdb
geom Remove redundant include 2014-04-29 01:17:43 +00:00
gnu Symbolic bindings for the dts files... 2014-02-28 16:51:33 +00:00
i386 Retire smp_active. It was racey and caused demonstrated problems with 2014-04-26 20:27:54 +00:00
ia64 Retire smp_active. It was racey and caused demonstrated problems with 2014-04-26 20:27:54 +00:00
isa Remove vestiges of knowing the ISA bus, which we gave up on around 20 2014-03-19 21:03:04 +00:00
kern Bump WITNESS_PENDLIST by MAXCPU to account for the 2014-04-29 17:22:29 +00:00
kgssapi
libkern Fix typo 2013-11-29 20:14:26 +00:00
mips After r264897 restore the ability to add bootoptions from FDT for 2014-04-29 07:48:07 +00:00
modules Add proto(4): A driver for prototyping and diagnostics. 2014-04-28 17:58:40 +00:00
net Do not use senderr() in rtrequest1_fib_change(). 2014-04-29 12:52:36 +00:00
net80211 Use logical rather than bitwise OR in if() expression. 2014-04-26 23:22:49 +00:00
netgraph Remove AppleTalk support. 2014-03-14 06:29:43 +00:00
netinet Fix a panic when removing an IP address from an interface, if the same address 2014-04-29 14:46:45 +00:00
netinet6 Use "hash" value in rtalloc_mpath_fib() instead of RTF_ANNOUNCE flag. 2014-04-26 16:46:33 +00:00
netipsec Remove _IP_VHL* macros and related ifdefs. 2014-04-16 05:31:54 +00:00
netnatm
netpfil Define startup order the same way as it is in dummynet. 2014-04-26 08:05:16 +00:00
netsmb Remove redundant unlock. 2014-04-17 12:22:08 +00:00
nfs - Remove rt_metrics_lite and simply put its members into rtentry. 2014-03-05 01:17:47 +00:00
nfsclient For software builds, the NFS client does many small 2013-12-07 23:05:59 +00:00
nfsserver The PR reported that the old NFS server did not set uio_td == NULL 2014-04-24 20:47:58 +00:00
nlm Correct a typo in nlm_find_host_by_addr(): the intention of the 2014-03-11 00:25:55 +00:00
ofed Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
opencrypto allow the kern.cryptodevallowsoft sysctl to enable symetric/hashes too... 2014-03-11 01:45:46 +00:00
pc98 MFi386: r257858 (by kib) 2014-04-20 05:40:13 +00:00
pci Increase the number of TX DMA segments from 32 to 35. It turned 2014-03-31 01:54:59 +00:00
powerpc Retire smp_active. It was racey and caused demonstrated problems with 2014-04-26 20:27:54 +00:00
rpc Fix lock acquisition in case no request space available, missed in r260097. 2014-02-04 00:00:01 +00:00
security audit: plug FILEDESC_LOCK leak in audit_canon_path. 2014-03-21 01:30:33 +00:00
sparc64 Retire smp_active. It was racey and caused demonstrated problems with 2014-04-26 20:27:54 +00:00
sys Drop explicit unsigned from FD_SETSIZE constant 2014-04-28 13:42:41 +00:00
teken Fix typo. 2014-02-06 13:28:06 +00:00
tools Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
ufs Update comment to explain search order reverted to historical order 2014-03-22 11:26:39 +00:00
vm For the VM_PHYSSEG_DENSE case, checking the requested range to fall 2014-04-29 18:42:37 +00:00
x86 Make this compile with gcc. 2014-04-05 22:43:18 +00:00
xdr
xen Make this compile with gcc. 2014-04-05 22:43:18 +00:00
Makefile Remove AppleTalk support. 2014-03-14 06:29:43 +00:00