<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/vmware/vmci/vmci_queue_pair.c, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-10-17T15:31:53Z</updated>
<entry>
<title>vmci: fix panic due to freeing unallocated resources</title>
<updated>2021-10-17T15:31:53Z</updated>
<author>
<name>Mark Peek</name>
<email>mp@FreeBSD.org</email>
</author>
<published>2021-10-09T21:21:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b5d236785dc352a65bc29d97c8a89b40387eb7a0'/>
<id>urn:sha1:b5d236785dc352a65bc29d97c8a89b40387eb7a0</id>
<content type='text'>
Summary:
An error mapping PCI resources results in a panic due to unallocated
resources being freed up. This change puts the appropriate checks in
place to prevent the panic.

PR:		252445
Reported by:	Marek Zarychta &lt;zarychtam@plan-b.pwste.edu.pl&gt;
Tested by:	marcus
MFC after:	1 week
Sponsored by:	VMware

Test Plan:
Along with user testing, also simulated error by inserting a ENXIO
return in vmci_map_bars().

Reviewed by:	marcus
Subscribers:	imp
Differential Revision: https://reviews.freebsd.org/D32016

(cherry picked from commit 0f14bcbe384091c729464cb770372aeb79061070)
</content>
</entry>
<entry>
<title>Update VMCI license based on comments from core, the FreeBSD Foundation,</title>
<updated>2018-04-08T01:32:56Z</updated>
<author>
<name>Mark Peek</name>
<email>mp@FreeBSD.org</email>
</author>
<published>2018-04-08T01:32:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3eeb75112272ef9ef244a00bc73beef3a146856a'/>
<id>urn:sha1:3eeb75112272ef9ef244a00bc73beef3a146856a</id>
<content type='text'>
and VMware legal:
- Add a dual BSD-2 Clause/GPLv2 LICENSE file in the VMCI directory
- Remove the use of "All Rights Reserved"
- Per best practice, remove copyright/license info from Makefile

Reviewed by: imp, emaste, jhb, Vishnu Dasa &lt;vdasa@vmware.com&gt;
Approved by: VMware legal via Mark Peek &lt;markpeek@vmware.com&gt;
Differential Revision:  https://reviews.freebsd.org/D14979
</content>
</entry>
<entry>
<title>Rectify VMCI SPDX license</title>
<updated>2018-03-27T06:33:00Z</updated>
<author>
<name>Mark Peek</name>
<email>mp@FreeBSD.org</email>
</author>
<published>2018-03-27T06:33:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8c302b2e8685a9887a4be126b2ff32c41fbce1e1'/>
<id>urn:sha1:8c302b2e8685a9887a4be126b2ff32c41fbce1e1</id>
<content type='text'>
Approved by: Vishnu Dasa &lt;vdasa@vmware.com&gt;
</content>
</entry>
<entry>
<title>vmci(4): Fix GCC build and rationalize vmci_kernel_defs.h</title>
<updated>2018-03-26T19:53:02Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2018-03-26T19:53:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7953f98e235666fa9d085d042fa9579bc662b65b'/>
<id>urn:sha1:7953f98e235666fa9d085d042fa9579bc662b65b</id>
<content type='text'>
To fix the GCC build, remove multiple redundant declarations of
vmci_send_datagram() (the copy in vmci.h as well as the extern definition in
vmci_queue_pair.c were wholly redundant).

Also to fix the GCC build, include a non-empty format string in the vmci(4)
definition of ASSERT().  It seems harmless either way, but adding the
stringified invariant is easier than masking the warning.

The other vmci_kernel_defs.h changes are cosmetic and simply match macros to
existing definitions.

Reported by:	GCC 6.4.0
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Add VMCI (Virtual Machine Communication Interface) driver</title>
<updated>2018-03-25T00:57:00Z</updated>
<author>
<name>Mark Peek</name>
<email>mp@FreeBSD.org</email>
</author>
<published>2018-03-25T00:57:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=63a938566d524836885917d95bd491aa4400b181'/>
<id>urn:sha1:63a938566d524836885917d95bd491aa4400b181</id>
<content type='text'>
In a virtual machine, VMCI is exposed as a regular PCI device. The primary
communication mechanisms supported are a point-to-point bidirectional
transport based on a pair of memory-mapped queues, and asynchronous
notifications in the form of datagrams and doorbells. These features are
available to kernel level components such as vSockets through the VMCI
kernel API. In addition to this, the VMCI kernel API provides support for
receiving events related to the state of the VMCI communication channels,
and the virtual machine itself.

Submitted by: Vishnu Dasa &lt;vdasa@vmware.com&gt;
Reviewed by: bcr, imp
Obtained from: VMware
Differential Revision: https://reviews.freebsd.org/D14289
</content>
</entry>
</feed>
