Author: neel
Date: Sat Apr 15 22:42:23 2017
New Revision: 316990
URL: https://svnweb.freebsd.org/changeset/base/316990
Log:
Due to time constraints remove myself as a vmm(4) maintainer.
Modified:
head/MAINTAINERS
Modified: head/MAINTAINERS
Author: neel
Date: Thu Jul 16 04:15:22 2015
New Revision: 285619
URL: https://svnweb.freebsd.org/changeset/base/285619
Log:
If uart interrupts are not functioning then schedule the callout to do the
polling at device attach time [1].
Add tunables 'debug.uart_force_poll' and
Author: neel
Date: Mon Jul 6 19:33:29 2015
New Revision: 285217
URL: https://svnweb.freebsd.org/changeset/base/285217
Log:
Always assert DCD and DSR in bhyve's uart emulation.
The /etc/ttys entry for a serial console in FreeBSD/x86 is as follows:
ttyu0 /usr/libexec/getty 3wire
Author: neel
Date: Mon Jul 6 19:41:43 2015
New Revision: 285218
URL: https://svnweb.freebsd.org/changeset/base/285218
Log:
Move the 'devmem' device nodes from /dev/vmm to /dev/vmm.io
Some external tools just do a 'ls /dev/vmm' to figure out the bhyve virtual
machines on the host. These
Author: neel
Date: Wed Jul 1 19:46:57 2015
New Revision: 285015
URL: https://svnweb.freebsd.org/changeset/base/285015
Log:
MFC r284712:
Restore the host's GS.base before returning from 'svm_launch()' so the Dtrace
FBT provider works with vmm.ko on AMD.
Modified:
Author: neel
Date: Sat Jun 27 18:24:23 2015
New Revision: 284892
URL: https://svnweb.freebsd.org/changeset/base/284892
Log:
Fix issues detected by 'mandoc -Tlint bhyveload.8'
Pointed out by: wblock
Differential Revision:https://reviews.freebsd.org/D2762
Modified:
Author: neel
Date: Sun Jun 28 01:21:55 2015
New Revision: 284899
URL: https://svnweb.freebsd.org/changeset/base/284899
Log:
MFC r279444:
Allow passthrough devices to be hinted.
MFC r279683:
When ICW1 is issued the edge sense circuit is reset which means that
following an
Author: neel
Date: Sat Jun 27 22:48:22 2015
New Revision: 284894
URL: https://svnweb.freebsd.org/changeset/base/284894
Log:
MFC r276428:
Replace bhyve's minimal RTC emulation with a fully featured one in vmm.ko.
MFC r276432:
Initialize all fields of 'struct vm_exception exception'
Author: neel
Date: Sun Jun 28 03:22:26 2015
New Revision: 284900
URL: https://svnweb.freebsd.org/changeset/base/284900
Log:
MFC r282209:
Emulate the 'bit test' instruction.
MFC r282259:
Re-implement RTC current time calculation to eliminate the possibility of
losing time.
MFC
Author: neel
Date: Tue Jun 23 02:17:23 2015
New Revision: 284712
URL: https://svnweb.freebsd.org/changeset/base/284712
Log:
Restore the host's GS.base before returning from 'svm_launch()'.
Previously this was done by the caller of 'svm_launch()' after it returned.
This works fine as long
Author: neel
Date: Mon Jun 22 00:30:34 2015
New Revision: 284688
URL: https://svnweb.freebsd.org/changeset/base/284688
Log:
Fix a regression in movs emulation after r284539. The regression was caused
due to a change in behavior of the 'vm_map_gpa()'.
Prior to r284539 if 'vm_map_gpa()'
Author: neel
Date: Thu Jun 18 06:00:17 2015
New Revision: 284539
URL: https://svnweb.freebsd.org/changeset/base/284539
Log:
Restructure memory allocation in bhyve to support devmem.
devmem is used to represent MMIO devices like the boot ROM or a VESA
framebuffer
where doing a
Author: neel
Date: Fri Jun 5 21:22:26 2015
New Revision: 284046
URL: https://svnweb.freebsd.org/changeset/base/284046
Log:
The 'verify_gla()' function is used to ensure that the effective address
after decoding the instruction matches the one provided by hardware.
Prior to r283293
Author: neel
Date: Thu Jun 4 02:12:23 2015
New Revision: 283973
URL: https://svnweb.freebsd.org/changeset/base/283973
Log:
Use tunable 'hw.vmm.svm.features' to disable specific SVM features even
though they might be available in hardware.
Use tunable 'hw.vmm.svm.num_asids' to limit the
Author: neel
Date: Thu May 28 17:37:01 2015
New Revision: 283657
URL: https://svnweb.freebsd.org/changeset/base/283657
Log:
Fix non-deterministic delays when accessing a vcpu that was in running or
sleeping state. This is done by forcing the vcpu to transition to idle
by returning to
Author: neel
Date: Fri May 22 21:09:11 2015
New Revision: 283299
URL: https://svnweb.freebsd.org/changeset/base/283299
Log:
Remove the verification of instruction length after instruction decode. The
check has been bogus since r273375.
MFC after:1 week
Modified:
Author: neel
Date: Sat May 23 01:17:50 2015
New Revision: 283308
URL: https://svnweb.freebsd.org/changeset/base/283308
Log:
Exceptions don't deliver an error code in real mode.
MFC after:1 week
Modified:
head/sys/amd64/vmm/vmm.c
Modified: head/sys/amd64/vmm/vmm.c
Author: neel
Date: Fri May 22 17:34:22 2015
New Revision: 283293
URL: https://svnweb.freebsd.org/changeset/base/283293
Log:
Don't rely on the 'VM-exit instruction length' field in the VMCS to always
have an accurate length on an EPT violation. This is not needed by the
instruction decoding
Author: neel
Date: Thu May 21 18:23:37 2015
New Revision: 283255
URL: https://svnweb.freebsd.org/changeset/base/283255
Log:
Emulate the CMP r/m, reg instruction (opcode 39H).
Reported and tested by: Leon Dang (ld...@nahannisys.com)
MFC after:1 week
Modified:
Author: neel
Date: Thu May 21 18:29:11 2015
New Revision: 283256
URL: https://svnweb.freebsd.org/changeset/base/283256
Log:
Add an option --get-vmcs-exit-inst-length to display the instruction length
of the instruction that caused the VM-exit.
MFC after:1 week
Modified:
Author: neel
Date: Tue May 12 00:30:39 2015
New Revision: 282788
URL: https://svnweb.freebsd.org/changeset/base/282788
Log:
Allow configuration of the sector size advertised to the guest.
The default behavior is to infer the logical and physical sector sizes from
the block device
Author: neel
Date: Thu May 7 18:35:15 2015
New Revision: 282595
URL: https://svnweb.freebsd.org/changeset/base/282595
Log:
Allow byte reads of AHCI registers.
This is needed to support Windows guests that use byte reads to access certain
AHCI registers (e.g. PxTFD.Status and
Author: neel
Date: Wed May 6 23:40:24 2015
New Revision: 282571
URL: https://svnweb.freebsd.org/changeset/base/282571
Log:
Check 'td_owepreempt' and yield the vcpu thread if it is set.
This is done explicitly because a vcpu thread can be in a critical section
for the entire time slice
Author: neel
Date: Wed May 6 16:25:20 2015
New Revision: 282558
URL: https://svnweb.freebsd.org/changeset/base/282558
Log:
Deprecate the 3-way return values from vm_gla2gpa() and vm_copy_setup().
Prior to this change both functions returned 0 for success, -1 for failure
and +1 to
Hi Alexander,
On Wed, May 6, 2015 at 3:00 AM, Alexander Motin m...@freebsd.org wrote:
On 06.05.2015 08:04, Neel Natu wrote:
Hi Alexander,
I am getting the following error(?) messages with an ahci-cd device on
Centos 6.4 x86_64:
Thanks for the report, r282524 should fix the issue.
Thanks
Hi Alexander,
I am getting the following error(?) messages with an ahci-cd device on
Centos 6.4 x86_64:
ata1.00: qc timeout (cmd 0xa0)
ata1: limiting SATA link speed to 1.5 Gbps
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: irq_stat 0x4001
sr 0:0:0:0: [sr0] CDB:
Author: neel
Date: Wed May 6 05:40:20 2015
New Revision: 282520
URL: https://svnweb.freebsd.org/changeset/base/282520
Log:
Do a proper emulation of guest writes to MSR_EFER.
- Must-Be-Zero bits cannot be set.
- EFER_LME and EFER_LMA should respect the long mode consistency checks.
-
Author: neel
Date: Wed May 6 05:12:29 2015
New Revision: 282519
URL: https://svnweb.freebsd.org/changeset/base/282519
Log:
Add macros for AMD-specific bits in MSR_EFER: LMSLE, FFXSR and TCE.
AMDID_FFXSR is at bit 25 so correct its value to 0x0200.
MFC after:1 week
Modified:
Author: neel
Date: Mon May 4 04:27:23 2015
New Revision: 282407
URL: https://svnweb.freebsd.org/changeset/base/282407
Log:
Emulate the 'CMP r/m8, imm8' instruction encountered when booting a Windows
Vista guest.
Reported by: Leon Dang (ld...@nahannisys.com)
MFC after:1 week
Author: neel
Date: Sat May 2 19:07:49 2015
New Revision: 282351
URL: https://svnweb.freebsd.org/changeset/base/282351
Log:
Don't advertise the Intel SMX capability to the guest.
Reported by: Leon Dang (ld...@nahannisys.com)
MFC after:1 week
Modified:
head/sys/amd64/vmm/x86.c
Author: neel
Date: Sat May 2 03:25:24 2015
New Revision: 282335
URL: https://svnweb.freebsd.org/changeset/base/282335
Log:
Advertise an additional memory BAR in the dummy device emulation.
This is useful for testing the MOVS emulation when both the source and
destination addresses are
Author: neel
Date: Sat May 2 04:19:11 2015
New Revision: 282336
URL: https://svnweb.freebsd.org/changeset/base/282336
Log:
Emulate machine check related MSRs to allow guest OSes like Windows to boot.
Reported by: Leon Dang (ld...@nahannisys.com)
MFC after:2 weeks
Modified:
Author: neel
Date: Fri May 1 16:00:29 2015
New Revision: 282301
URL: https://svnweb.freebsd.org/changeset/base/282301
Log:
r281630 relaxed the limits on the vectors that can be asserted in the IRRs.
Do the same when transitioning a vector from the IRR to the ISR and also
when
Author: neel
Date: Fri May 1 05:11:14 2015
New Revision: 282296
URL: https://svnweb.freebsd.org/changeset/base/282296
Log:
Emulate MSR_SYSCFG which is accessed by Linux on AMD cpus when MTRRs are
enabled.
MFC after:2 weeks
Modified:
head/sys/amd64/vmm/amd/svm_msr.c
Modified:
Author: neel
Date: Thu Apr 30 21:00:47 2015
New Revision: 282284
URL: https://svnweb.freebsd.org/changeset/base/282284
Log:
When an instruction cannot be decoded just return to userspace so bhyve(8)
can dump the instruction bytes.
Requested by: grehan
MFC after:1 week
Modified:
Author: neel
Date: Thu Apr 30 19:23:50 2015
New Revision: 282281
URL: https://svnweb.freebsd.org/changeset/base/282281
Log:
Advertise the MTRR feature via CPUID and emulate the minimal set of MTRR MSRs.
This is required for booting Windows guests.
Reported by: Leon Dang
Author: neel
Date: Thu Apr 30 22:23:22 2015
New Revision: 282287
URL: https://svnweb.freebsd.org/changeset/base/282287
Log:
Don't require sys/cpuset.h to be always included before machine/vmm.h.
Only a subset of source files that include machine/vmm.h need to use the
APIs that require
Author: neel
Date: Wed Apr 29 23:44:28 2015
New Revision: 282259
URL: https://svnweb.freebsd.org/changeset/base/282259
Log:
Re-implement RTC current time calculation to eliminate the possibility of
losing time.
The problem with the earlier implementation was that the uptime value
used
Author: neel
Date: Tue Apr 28 23:44:47 2015
New Revision: 282206
URL: https://svnweb.freebsd.org/changeset/base/282206
Log:
Implement the century byte in the RTC. Some guests require this field to be
properly set.
Reported by: Leon Dang (ld...@nahannisys.com)
MFC after:2 weeks
Author: neel
Date: Wed Apr 29 02:01:46 2015
New Revision: 282209
URL: https://svnweb.freebsd.org/changeset/base/282209
Log:
Emulate the 'bit test' instruction. Windows 7 uses 'bit test' to check the
'Delivery Status' bit in APIC ICR register.
Reported by: Leon Dang
Author: neel
Date: Fri Apr 24 19:15:38 2015
New Revision: 281946
URL: https://svnweb.freebsd.org/changeset/base/281946
Log:
Don't allow guest to modify readonly bits in the PCI config 'status' register.
Reported by: Leon Dang (ld...@nahannisys.com)
MFC after:2 weeks
Modified:
Author: neel
Date: Thu Apr 16 20:15:47 2015
New Revision: 281612
URL: https://svnweb.freebsd.org/changeset/base/281612
Log:
Prefer 'vcpu_should_yield()' over checking 'curthread-td_flags' directly.
MFC after:1 week
Modified:
head/sys/amd64/vmm/amd/svm.c
Modified:
Author: neel
Date: Thu Apr 16 20:11:49 2015
New Revision: 281611
URL: https://svnweb.freebsd.org/changeset/base/281611
Log:
If the number of guest vcpus is less than '1' then flag it as an error.
MFC after:1 week
Modified:
head/usr.sbin/bhyve/bhyverun.c
Modified:
Author: neel
Date: Thu Apr 16 22:44:51 2015
New Revision: 281630
URL: https://svnweb.freebsd.org/changeset/base/281630
Log:
Relax the check on which vectors can be delivered through the APIC. According
to the Intel SDM vectors 16 through 255 are allowed to be delivered via the
local APIC.
Author: neel
Date: Wed Apr 15 16:22:05 2015
New Revision: 281559
URL: https://svnweb.freebsd.org/changeset/base/281559
Log:
Fix handling of BUS_PROBE_NOWILDCARD in 'device_probe_child()'.
Device probe value of BUS_PROBE_NOWILDCARD should be treated specially only
if the device has a
Author: neel
Date: Wed Apr 15 05:04:42 2015
New Revision: 281542
URL: https://svnweb.freebsd.org/changeset/base/281542
Log:
Initialize 'error' before use.
Reported by: Coverity Scan
CID: 1249748, 1249747, 1249751, 1249749
MFC after:1 week
Modified:
Author: neel
Date: Mon Apr 13 19:13:51 2015
New Revision: 281499
URL: https://svnweb.freebsd.org/changeset/base/281499
Log:
Modify the return value of the uhci/ehci/xhci PCI probe routines to
'BUS_PROBE_DEFAULT'. This allows bhyve's 'ppt' driver to claim ownership
of the device and pass it
Hi Christian,
On Sun, Apr 5, 2015 at 12:06 PM, Christian Laursen x...@borderworlds.dk wrote:
On 10/03/14 19:27, Peter Grehan wrote:
Author: grehan
Date: Fri Oct 3 17:27:30 2014
New Revision: 272481
URL: https://svnweb.freebsd.org/changeset/base/272481
Log:
Add new fields in the FADT,
Author: neel
Date: Mon Apr 6 03:16:20 2015
New Revision: 281134
URL: https://svnweb.freebsd.org/changeset/base/281134
Log:
MFC r272481.
Add new fields in the FADT, required by IASL 20140926-64.
Modified:
stable/10/usr.sbin/bhyve/acpi.c
Directory Properties:
stable/10/ (props changed)
Author: neel
Date: Sat Mar 28 02:55:16 2015
New Revision: 280775
URL: https://svnweb.freebsd.org/changeset/base/280775
Log:
Fix the RTC device model to operate correctly in 12-hour mode. The following
table documents the values in the RTC 'hour' field in the two modes:
Hour-of-the-day
Author: neel
Date: Sat Mar 14 02:32:08 2015
New Revision: 279971
URL: https://svnweb.freebsd.org/changeset/base/279971
Log:
Use lapic_ipi_alloc() to dynamically allocate IPI slots needed by bhyve when
vmm.ko is loaded.
Also relocate the 'justreturn' IPI handler to be alongside all other
Author: neel
Date: Sat Mar 14 00:30:41 2015
New Revision: 279970
URL: https://svnweb.freebsd.org/changeset/base/279970
Log:
Add x86 specific APIs 'lapic_ipi_alloc()' and 'lapic_ipi_free()' to allow IPI
vectors to be dynamically allocated. This allows kernel modules like vmm.ko
to allocate
Hi Davide,
On Mon, Mar 2, 2015 at 12:26 PM, Davide Italiano dav...@freebsd.org wrote:
On Mon, Mar 2, 2015 at 12:05 PM, John-Mark Gurney j...@freebsd.org wrote:
Author: jmg
Date: Mon Mar 2 20:05:16 2015
New Revision: 279539
URL: https://svnweb.freebsd.org/changeset/base/279539
Log:
give
Author: neel
Date: Mon Mar 2 20:13:49 2015
New Revision: 279540
URL: https://svnweb.freebsd.org/changeset/base/279540
Log:
Fix warnings/errors when building vmm.ko with gcc:
- fix warning about comparison of 'uint8_t v_tpr = 0' always being true.
- fix error triggered by an empty
Author: neel
Date: Sun Mar 1 02:31:27 2015
New Revision: 279468
URL: https://svnweb.freebsd.org/changeset/base/279468
Log:
Free up the IPI slot used by IPI_STOP_HARD.
Change the numeric value of IPI_STOP_HARD so it doesn't occupy a valid IPI
slot. This can be done because IPI_STOP_HARD
Author: neel
Date: Tue Feb 24 02:04:16 2015
New Revision: 279225
URL: https://svnweb.freebsd.org/changeset/base/279225
Log:
Add -u option to bhyve(8) to indicate that the RTC should maintain UTC time.
The default remains localtime for compatibility with the original device model
in
Author: neel
Date: Tue Feb 24 05:15:40 2015
New Revision: 279227
URL: https://svnweb.freebsd.org/changeset/base/279227
Log:
Emulate MSR 0xC0011024 when running on AMD processors.
OpenBSD guests test bit 0 of this MSR to detect whether the workaround for
erratum 721 has been applied.
Author: neel
Date: Tue Feb 24 05:35:15 2015
New Revision: 279228
URL: https://svnweb.freebsd.org/changeset/base/279228
Log:
Always emulate MSR_PAT on Intel processors and don't rely on PAT save/restore
capability of VT-x. This lets bhyve run nested in older VMware versions that
don't
Author: neel
Date: Sat Jan 24 00:35:49 2015
New Revision: 277626
URL: https://svnweb.freebsd.org/changeset/base/277626
Log:
Add macro to identify AVIC capability (advanced virtual interrupt controller)
in AMD processors.
Submitted by: Dmitry Luhtionov (dmitryluhtio...@gmail.com)
Author: neel
Date: Tue Jan 20 03:54:30 2015
New Revision: 277406
URL: https://svnweb.freebsd.org/changeset/base/277406
Log:
Update the vdso timehands only via tc_windup().
Prior to this change CLOCK_MONOTONIC could go backwards when the timecounter
hardware was changed via 'sysctl
Author: neel
Date: Mon Jan 19 06:53:31 2015
New Revision: 277360
URL: https://svnweb.freebsd.org/changeset/base/277360
Log:
MOVS instruction emulation.
These instructions are emitted by 'bus_space_read_region()' when accessing
MMIO regions.
Since MOVS can be used with a repeat
Author: neel
Date: Mon Jan 19 06:51:04 2015
New Revision: 277359
URL: https://svnweb.freebsd.org/changeset/base/277359
Log:
Fix a bug in libvmmapi 'vm_copy_setup()' where it would return success even if
the 'gpa' was in the guest MMIO region. This would manifest as a segmentation
fault in
Author: neel
Date: Sun Jan 18 01:50:10 2015
New Revision: 277309
URL: https://svnweb.freebsd.org/changeset/base/277309
Log:
Make the error message explicit instead of just printing the usage if the
virtual machine name is not specified.
Requested by: grehan
MFC after:1 week
Author: neel
Date: Sun Jan 18 03:08:30 2015
New Revision: 277310
URL: https://svnweb.freebsd.org/changeset/base/277310
Log:
Simplify instruction restart logic in bhyve.
Keep track of the next instruction to be executed by the vcpu as 'nextrip'.
As a result the VM_RUN ioctl no longer
Author: neel
Date: Wed Jan 14 07:18:51 2015
New Revision: 277168
URL: https://svnweb.freebsd.org/changeset/base/277168
Log:
Fix typo (missing comma).
MFC after:3 days
Modified:
head/sys/amd64/vmm/vmm_ioport.c
Modified: head/sys/amd64/vmm/vmm_ioport.c
Author: neel
Date: Tue Jan 13 22:00:47 2015
New Revision: 277149
URL: https://svnweb.freebsd.org/changeset/base/277149
Log:
'struct vm_exception' was intended to be used only as the collateral for the
VM_INJECT_EXCEPTION ioctl. However it morphed into other uses like keeping
track pending
Author: neel
Date: Tue Jan 6 19:04:02 2015
New Revision: 276763
URL: https://svnweb.freebsd.org/changeset/base/276763
Log:
Clear blocking due to STI or MOV SS in the hypervisor when an instruction is
emulated or when the vcpu incurs an exception. This matches the CPU behavior.
Remove
Author: neel
Date: Wed Dec 31 22:15:28 2014
New Revision: 276482
URL: https://svnweb.freebsd.org/changeset/base/276482
Log:
MFC r273748
Output a summary of optional SVM features in dmesg similar to CPU features.
If bootverbose is enabled, a detailed list is provided; otherwise, a
/sys/amd64/vmm/amd/svm_msr.c)
@@ -0,0 +1,136 @@
+/*-
+ * Copyright (c) 2014, Neel Natu (n...@freebsd.org)
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1
/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/amd64/vmm/io/vrtc.cTue Dec 30 22:19:34 2014
(r276428)
@@ -0,0 +1,952 @@
+/*-
+ * Copyright (c) 2014, Neel Natu (n...@freebsd.org)
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary
Author: neel
Date: Tue Dec 30 22:22:46 2014
New Revision: 276429
URL: https://svnweb.freebsd.org/changeset/base/276429
Log:
MFC r273683
Move the ACPI PM timer emulation into vmm.ko.
MFC r273706
Change the type of the first argument to the I/O emulation handlers to
'struct vm *'.
Author: neel
Date: Tue Dec 30 23:38:31 2014
New Revision: 276432
URL: https://svnweb.freebsd.org/changeset/base/276432
Log:
Initialize all fields of 'struct vm_exception exception' before passing it to
vm_inject_exception(). This fixes the issue that 'exception.cpuid' is
uninitialized when
Author: neel
Date: Wed Dec 31 04:12:38 2014
New Revision: 276447
URL: https://svnweb.freebsd.org/changeset/base/276447
Log:
MFC r276323
Implement special mask mode in vatpic.
Modified:
stable/10/sys/amd64/vmm/io/vatpic.c
Directory Properties:
stable/10/ (props changed)
Modified:
Author: neel
Date: Tue Dec 30 00:00:42 2014
New Revision: 276386
URL: https://svnweb.freebsd.org/changeset/base/276386
Log:
MFC 261321
Rename the AMD MSR_PERFCTR[0-3] so the Pentium Pro MSR_PERFCTR[0-1] aren't
redefined.
MFC r273214
Fix build to not bogusly always rebuild vmm.ko.
Author: neel
Date: Tue Dec 30 02:44:33 2014
New Revision: 276392
URL: https://svnweb.freebsd.org/changeset/base/276392
Log:
Inject #UD into the guest when it executes either 'MONITOR' or 'MWAIT' on
an AMD/SVM host.
MFC after:1 week
Modified:
head/sys/amd64/vmm/amd/svm.c
Author: neel
Date: Tue Dec 30 07:08:30 2014
New Revision: 276402
URL: https://svnweb.freebsd.org/changeset/base/276402
Log:
Remove svn:mergeinfo property that was dragged along when these files were
svn copied in r273375.
Suggested by: ngie, gjb
Modified:
Directory Properties:
Author: neel
Date: Sun Dec 28 21:27:13 2014
New Revision: 276349
URL: https://svnweb.freebsd.org/changeset/base/276349
Log:
MFC r270326
Fix a recursive lock acquisition in vi_reset_dev().
MFC r270434
Return the spurious interrupt vector (IRQ7 or IRQ15) if the atpic cannot find
any
Author: neel
Date: Sun Dec 28 00:53:52 2014
New Revision: 276323
URL: https://svnweb.freebsd.org/changeset/base/276323
Log:
Implement special mask mode in vatpic.
OpenBSD guests always enable special mask mode during boot. As a result of
r275952 this is flagged as an error and the guest
Author: neel
Date: Tue Dec 23 02:14:49 2014
New Revision: 276098
URL: https://svnweb.freebsd.org/changeset/base/276098
Log:
Allow ktr(4) tracing of all guest exceptions via the tunable
hw.vmm.trace_guest_exceptions. To enable this feature set the tunable
to 1 before loading vmm.ko.
Author: neel
Date: Sat Dec 20 19:47:51 2014
New Revision: 275965
URL: https://svnweb.freebsd.org/changeset/base/275965
Log:
Emulate writes to the IA32_MISC_ENABLE MSR.
PR: 196093
Reported by: db
Tested by:db
Discussed with: grehan
MFC after:1 week
Author: neel
Date: Sat Dec 20 04:57:45 2014
New Revision: 275952
URL: https://svnweb.freebsd.org/changeset/base/275952
Log:
Various 8259 device model improvements:
- implement 8259 polled mode.
- set 'atpic-sfn' if bit 4 in ICW4 is set during master initialization.
- report error if
Author: neel
Date: Wed Dec 17 03:04:43 2014
New Revision: 275850
URL: https://svnweb.freebsd.org/changeset/base/275850
Log:
Fix 8259 IRQ priority resolver.
Initialize the 8259 such that IRQ7 is the lowest priority.
Reviewed by: tychon
Differential Revision:
Author: neel
Date: Tue Dec 16 06:33:57 2014
New Revision: 275817
URL: https://svnweb.freebsd.org/changeset/base/275817
Log:
For level triggered interrupts clear the PIC IRR bit when the interrupt pin
is deasserted. Prior to this change each assertion on a level triggered irq
pin resulted in
Author: neel
Date: Wed Oct 29 16:49:28 2014
New Revision: 273832
URL: https://svnweb.freebsd.org/changeset/base/273832
Log:
MFS10 r273573, MFC r273356:
Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT
misconfiguration VM-exit.
MFS10 r273807, MFC r273666:
Don't
Author: neel
Date: Wed Oct 29 01:54:37 2014
New Revision: 273807
URL: https://svnweb.freebsd.org/changeset/base/273807
Log:
MFC r273666.
Don't pass the 'error' return from an I/O port handler directly to vm_run().
Modified:
stable/10/sys/amd64/vmm/vmm_ioport.c
Directory Properties:
Author: neel
Date: Sun Oct 26 19:03:06 2014
New Revision: 273706
URL: https://svnweb.freebsd.org/changeset/base/273706
Log:
Change the type of the first argument to the I/O emulation handlers to
'struct vm *'. Previously it used to be a 'void *' but there is no reason
to hide the actual
Author: neel
Date: Sun Oct 26 21:17:44 2014
New Revision: 273710
URL: https://svnweb.freebsd.org/changeset/base/273710
Log:
Add a comment explaining the intent behind the I/O reservation [0x72-0x77].
Modified:
head/usr.sbin/bhyve/rtc.c
Modified: head/usr.sbin/bhyve/rtc.c
Author: neel
Date: Sun Oct 26 03:03:41 2014
New Revision: 273666
URL: https://svnweb.freebsd.org/changeset/base/273666
Log:
Don't pass the 'error' return from an I/O port handler directly to vm_run().
Most I/O port handlers return -1 to signal an error. If this value is returned
without
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/amd64/vmm/io/vpmtmr.c Sun Oct 26 04:44:28 2014
(r273683)
@@ -0,0 +1,104 @@
+/*-
+ * Copyright (c) 2014, Neel Natu (n...@freebsd.org)
+ * All rights
Author: neel
Date: Fri Oct 24 03:48:54 2014
New Revision: 273573
URL: https://svnweb.freebsd.org/changeset/base/273573
Log:
MFC r273356:
Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT
misconfiguration VM-exit.
Modified:
stable/10/sys/amd64/amd64/pmap.c
Directory
Author: neel
Date: Tue Oct 21 07:10:43 2014
New Revision: 273375
URL: https://svnweb.freebsd.org/changeset/base/273375
Log:
Merge projects/bhyve_svm into HEAD.
After this change bhyve supports AMD processors with the SVM/AMD-V hardware
extensions.
More details available here:
Author: neel
Date: Mon Oct 20 18:09:33 2014
New Revision: 273338
URL: https://svnweb.freebsd.org/changeset/base/273338
Log:
Merge from projects/bhyve_svm all the changes outside vmm.ko or bhyve
utilities:
Add support for AMD's nested page tables in pmap.c:
- Provide the correct bit mask
Author: neel
Date: Tue Oct 21 01:06:58 2014
New Revision: 273356
URL: https://svnweb.freebsd.org/changeset/base/273356
Log:
Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT
misconfiguration VM-exit.
An EPT misconfiguration is triggered when the processor encounters a
Author: neel
Date: Tue Oct 14 18:34:15 2014
New Revision: 273102
URL: https://svnweb.freebsd.org/changeset/base/273102
Log:
Use '-e' to check if the virtio backing file has already been created.
The '-f' check works fine on a regular file but not if the backing file is
a device (e.g.,
Author: neel
Date: Tue Oct 14 21:02:33 2014
New Revision: 273108
URL: https://svnweb.freebsd.org/changeset/base/273108
Log:
Emulate POP r/m.
This is needed to boot OpenBSD/i386 MP kernel in bhyve.
Reported by: grehan
MFC after:1 week
Modified:
Hi Devin,
On Thu, Oct 9, 2014 at 1:35 AM, dte...@freebsd.org wrote:
-Original Message-
From: owner-src-committ...@freebsd.org [mailto:owner-src-
committ...@freebsd.org] On Behalf Of Neel Natu
Sent: Wednesday, October 8, 2014 10:47 PM
To: dte...@freebsd.org
Cc: Neel Natu; src
Author: neel
Date: Thu Oct 9 19:02:32 2014
New Revision: 272838
URL: https://svnweb.freebsd.org/changeset/base/272838
Log:
iasl(8) expects integer fields in data tables to be specified as hexadecimal
values. Therefore the bit width of the PM Timer Block was actually being
interpreted as
Author: neel
Date: Thu Oct 9 19:13:33 2014
New Revision: 272839
URL: https://svnweb.freebsd.org/changeset/base/272839
Log:
Support Intel-specific MSRs that are accessed when booting up a linux in
bhyve:
- MSR_PLATFORM_INFO
- MSR_TURBO_RATIO_LIMITx
- MSR_RAPL_POWER_UNIT
Reviewed by:
Author: neel
Date: Wed Oct 8 15:39:24 2014
New Revision: 272752
URL: https://svnweb.freebsd.org/changeset/base/272752
Log:
MFC r272270:
tty_rel_free() can be called more than once for the same tty so make sure
that the tty is dequeued from 'tty_list' only the first time.
Approved
Hi Devin,
On Wed, Oct 8, 2014 at 9:53 PM, dte...@freebsd.org wrote:
-Original Message-
From: owner-src-committ...@freebsd.org [mailto:owner-src-
committ...@freebsd.org] On Behalf Of Neel Natu
Sent: Wednesday, October 8, 2014 8:39 AM
To: src-committ...@freebsd.org; svn-src-all
1 - 100 of 434 matches
Mail list logo