Author: araujo
Date: Tue Dec 17 01:37:02 2019
New Revision: 355839
URL: https://svnweb.freebsd.org/changeset/base/355839
Log:
Forgotten to remove the previous if statement in commit r355838.
MFC after:1 month
Differential Revision:https://reviews.freebsd.org/D19400
Modified:
Author: araujo
Date: Tue Dec 17 01:33:26 2019
New Revision: 355838
URL: https://svnweb.freebsd.org/changeset/base/355838
Log:
Attempt to load vmm(4) module before creating a guest using vm_create()
wrapper in libvmmapi.
Submitted by: Rob Fairbanks
Reviewed by: jhb
MFC after:1 mo
Author: araujo
Date: Tue Aug 27 07:17:31 2019
New Revision: 351541
URL: https://svnweb.freebsd.org/changeset/base/351541
Log:
MFC r350433: Fix sound on headset jack for ALC255 and ALC256 codec.
PR: 219350 [1], [2]
Submitted by: Masachika ISHIZUKA (ish_at_amail.plala.or.jp) [1]
Author: araujo
Date: Tue Jul 30 02:01:49 2019
New Revision: 350433
URL: https://svnweb.freebsd.org/changeset/base/350433
Log:
Fix sound on headset jack for ALC255 and ALC256 codec.
PR: 219350 [1], [2]
Submitted by: Masachika ISHIZUKA (ish_at_amail.plala.or.jp) [1]
Author: araujo
Date: Tue Jun 25 06:24:56 2019
New Revision: 349361
URL: https://svnweb.freebsd.org/changeset/base/349361
Log:
Add SPDX tags to bhyve(8) HD Audio device.
Reviewed by: bcran
Differential Revision:https://reviews.freebsd.org/D20750
Replaced:
head/usr.sbin/bhyve/au
ype)
> > > > > > bzero(&pciecap, sizeof(pciecap));
> > > > > >
> > > > > > pciecap.capid = PCIY_EXPRESS;
> > > > > > - pciecap.pcie_capabilities = PCIECAP_VERSION |
> > > PCIEM_TYPE_ROOT_PORT;
> &
n/bhyve/pci_emul.c
> > > > > ===
> > > > > ===
> > > > > --- head/usr.sbin/bhyve/pci_emul.c Fri Mar 15 02:11:27 2019
> (r3
> > > > > 45170)
> > > > > +++ head/usr.sb
= PCIY_EXPRESS;
> > > - pciecap.pcie_capabilities = PCIECAP_VERSION |
> > > PCIEM_TYPE_ROOT_PORT;
> > > + pciecap.pcie_capabilities = PCIECAP_VERSION | type;
> > > + /* Devices starting with version 1.1 must set the RBER bit */
> > > + if (PCIECAP_VERSION >= 1)
> &g
the Illumos guys:
https://reviews.freebsd.org/D19499
Pending now bhyve maintainer to approve it.
Dark days, we had 2 committers trying to fix the same thing and our hands
are tied.
Best,
--
--
Marcelo Araujo(__)ara...@freebsd.org
\\\'',)http://www.FreeBSD.or
On Wed, Mar 13, 2019, 12:57 AM Warner Losh
>
> On Tue, Mar 12, 2019, 9:43 AM John Baldwin wrote:
>
>> On 3/11/19 10:43 PM, Warner Losh wrote:
>> > On Mon, Mar 11, 2019 at 11:25 PM Rodney W. Grimes <
>> free...@gndrsh.dnsmgr.net>
>> > wrote:
>> >
>> Author: imp
>> Date: Tue Mar 12 04:49:
Author: araujo
Date: Fri Feb 1 03:09:11 2019
New Revision: 343642
URL: https://svnweb.freebsd.org/changeset/base/343642
Log:
Revert r343634:
Mostly a cosmetic change to replace strlen with strnlen.
Requested by: kib and imp
Modified:
head/usr.sbin/bhyve/bhyverun.c
head/usr.sbin/bhyv
Em sex, 1 de fev de 2019 às 09:21, Konstantin Belousov
escreveu:
> On Fri, Feb 01, 2019 at 09:05:37AM +0800, Marcelo Araujo wrote:
> > Em sex, 1 de fev de 2019 às 09:01, Konstantin Belousov <
> kostik...@gmail.com>
> > escreveu:
> >
> > > On Fri, Feb 01, 2
Em sex, 1 de fev de 2019 às 09:01, Konstantin Belousov
escreveu:
> On Fri, Feb 01, 2019 at 08:40:11AM +0800, Marcelo Araujo wrote:
> > Em sex, 1 de fev de 2019 às 08:36, Warner Losh
> escreveu:
> >
> > >
> > >
> > > On Thu, Jan 31, 2019, 4:46 PM Ko
Em sex, 1 de fev de 2019 às 08:36, Warner Losh escreveu:
>
>
> On Thu, Jan 31, 2019, 4:46 PM Konstantin Belousov wrote:
>
>> On Thu, Jan 31, 2019 at 11:32:19PM +0000, Marcelo Araujo wrote:
>> > Author: araujo
>> > Date: Thu Jan 31 23:32:19 2019
>&
Author: araujo
Date: Thu Jan 31 23:32:19 2019
New Revision: 343634
URL: https://svnweb.freebsd.org/changeset/base/343634
Log:
Mostly a cosmetic change to replace strlen with strnlen.
Obtained from:Project ACRN
MFC after:2 weeks
Modified:
head/usr.sbin/bhyve/bhyverun.c
hea
Author: araujo
Date: Thu Jan 31 07:08:37 2019
New Revision: 343602
URL: https://svnweb.freebsd.org/changeset/base/343602
Log:
MFC r343077:
Fix broken uart on Win2016 guest.
Obtained from:Joyent (commit/2bf1a940afbd1382faff159e7c93c72779ca10f4)
Modified:
stable/12/usr.sbin/bh
Author: araujo
Date: Wed Jan 16 03:46:27 2019
New Revision: 343077
URL: https://svnweb.freebsd.org/changeset/base/343077
Log:
Fix broken uart on Win2016 guest.
Obtained from:Joyent (commit/2bf1a940afbd1382faff159e7c93c72779ca10f4)
MFC after:3 weeks.
Modified:
head/usr.sbin/
Author: araujo
Date: Wed Jan 16 00:39:23 2019
New Revision: 343068
URL: https://svnweb.freebsd.org/changeset/base/343068
Log:
Use capsicum_helpers(3) that allow us to simplify the code and its functions
will return success when the kernel is built without support of
the capability mode.
Em sáb, 22 de dez de 2018 às 02:53, Alexander Motin
escreveu:
> On 21.12.2018 13:37, Marcelo Araujo wrote:
> > Em sáb, 22 de dez de 2018 às 01:22, Alexander Motin > <mailto:m...@freebsd.org>> escreveu:
> >
> > Author: mav
> > Date: Fri Dec 21 17:
int fd, int argc, char **argv, char
> *c
> printf("LUN %d modified successfully\n", lun_id);
>
> bailout:
> - nvlist_destroy(req.args_nvl);
> + nvlist_destroy(option_list);
> return (retval);
> }
>
>
>
--
--
Marcelo Araujo
Author: araujo
Date: Tue Dec 18 03:00:12 2018
New Revision: 342184
URL: https://svnweb.freebsd.org/changeset/base/342184
Log:
MFC r340707:
Define AHCI_PORT_IDENT and increase by 1 the VTBLK_BLK_ID_BYTES
to avoid buffer accessed out of bounds, also switch to snprintf(3).
PR:
Your mfc was quite fast less than 1 week, usually we take a bit more of
time before we do the mfc!
On Fri, Dec 14, 2018, 10:49 PM Alexander Motin Author: mav
> Date: Fri Dec 14 14:49:04 2018
> New Revision: 342083
> URL: https://svnweb.freebsd.org/changeset/base/342083
>
> Log:
> MFC r341829: A
Author: araujo
Date: Sun Dec 9 06:41:57 2018
New Revision: 341757
URL: https://svnweb.freebsd.org/changeset/base/341757
Log:
MFC r340046, r340050
r340046:
Add support ps/2 scancodes for NumLock, ScrollLock and numerical keypad
keys.
PR: 213835
Submitted by: Vasily Post
Author: araujo
Date: Sun Dec 9 06:42:06 2018
New Revision: 341758
URL: https://svnweb.freebsd.org/changeset/base/341758
Log:
MFC r340046, r340050
r340046:
Add support ps/2 scancodes for NumLock, ScrollLock and numerical keypad
keys.
PR: 213835
Submitted by: Vasily Post
Author: araujo
Date: Sun Dec 9 06:48:44 2018
New Revision: 341761
URL: https://svnweb.freebsd.org/changeset/base/341761
Log:
MFC r340211:
Comestic change to try to inline the memset with SSE/AVX instructions.
Also switch from int to size_t to keep portability.
Reviewed by: brooks
On Thu, Nov 22, 2018, 12:19 AM Rodney W. Grimes <
free...@pdx.rh.cn85.dnsmgr.net wrote:
> > Author: 0mp (ports committer)
> > Date: Wed Nov 21 11:22:44 2018
> > New Revision: 340722
> > URL: https://svnweb.freebsd.org/changeset/base/340722
> >
> > Log:
> > libbe(3): Put each error value in separ
Em qua, 21 de nov de 2018 às 08:23, Shawn Webb
escreveu:
> On Tue, Nov 20, 2018 at 10:21:19PM +0000, Marcelo Araujo wrote:
> > Author: araujo
> > Date: Tue Nov 20 22:21:19 2018
> > New Revision: 340707
> > URL: https://svnweb.freebsd.org/changeset/base/34070
Author: araujo
Date: Tue Nov 20 22:21:19 2018
New Revision: 340707
URL: https://svnweb.freebsd.org/changeset/base/340707
Log:
Define AHCI_PORT_IDENT and increase by 1 the VTBLK_BLK_ID_BYTES
to avoid buffer accessed out of bounds, also switch to snprintf(3).
PR: 200859
Submitte
Author: araujo
Date: Wed Nov 7 06:29:01 2018
New Revision: 340211
URL: https://svnweb.freebsd.org/changeset/base/340211
Log:
Comestic change to try to inline the memset with SSE/AVX instructions.
Also switch from int to size_t to keep portability.
Reviewed by: brooks
Sponsored by: iXs
Author: araujo
Date: Wed Nov 7 04:20:29 2018
New Revision: 340210
URL: https://svnweb.freebsd.org/changeset/base/340210
Log:
Revert my bogus attempt to silence coverity on r340045, it created
more bad side effects than good.
PR: 233038
Submitted by: We Maag
Modified:
head
Em sex, 2 de nov de 2018 às 21:37, Dmitry Luhtionov <
dmitryluhtio...@gmail.com> escreveu:
> I think you need to remove `printf("keysym 0x%x\n", keysym);` from line
> 322
>
Done at: https://svnweb.freebsd.org/changeset/base/340050
Thank you to spot that.
Best
Author: araujo
Date: Fri Nov 2 13:48:06 2018
New Revision: 340050
URL: https://svnweb.freebsd.org/changeset/base/340050
Log:
Remove printf for debug purpose forgotten on r340046.
Reported by: Dmitry Luhtionov
Modified:
head/usr.sbin/bhyve/ps2kbd.c
Modified: head/usr.sbin/bhyve/ps2kbd
Author: araujo
Date: Fri Nov 2 08:28:14 2018
New Revision: 340046
URL: https://svnweb.freebsd.org/changeset/base/340046
Log:
Add support ps/2 scancodes for NumLock, ScrollLock and numerical keypad
keys.
PR: 213835
Submitted by: Vasily Postnicov
MFC after:4 weeks
Reln
Author: araujo
Date: Fri Nov 2 08:03:19 2018
New Revision: 340045
URL: https://svnweb.freebsd.org/changeset/base/340045
Log:
Fix resource leak when using strdup(3).
Reported by: Coverity
CID: 1357337
Sponsored by: iXsystems Inc.
Modified:
head/usr.sbin/bhyve/pci_fbuf.c
Mo
Author: araujo
Date: Fri Nov 2 08:01:42 2018
New Revision: 340044
URL: https://svnweb.freebsd.org/changeset/base/340044
Log:
Fix resource leak when using strdup(3).
Reported by: Coverity
CID: 1357336
Sponsored by: iXsystems Inc.
Modified:
head/usr.sbin/bhyve/pci_xhci.c
Mo
Author: araujo
Date: Fri Nov 2 07:59:28 2018
New Revision: 340043
URL: https://svnweb.freebsd.org/changeset/base/340043
Log:
Fix resource leak, variable fd going out of scope.
Reported by: Coverity
CID: 1204383
Sponsored by: iXsystems Inc.
Modified:
head/usr.sbin/bhyve/pci
Author: araujo
Date: Fri Nov 2 07:57:28 2018
New Revision: 340042
URL: https://svnweb.freebsd.org/changeset/base/340042
Log:
Fix resource leak, variables cp, xopts and nopt going out of scope.
Reported by: Coverity
CID: 1305412
Sponsored by: iXsystems Inc.
Modified:
head/u
On Wed, Oct 31, 2018, 10:07 PM Shawn Webb
wrote:
> On Wed, Oct 31, 2018 at 01:27:44AM +0000, Marcelo Araujo wrote:
> > Author: araujo
> > Date: Wed Oct 31 01:27:44 2018
> > New Revision: 339936
> > URL: https://svnweb.freebsd.org/changeset/base/339936
> >
>
Author: araujo
Date: Wed Oct 31 01:27:44 2018
New Revision: 339936
URL: https://svnweb.freebsd.org/changeset/base/339936
Log:
Merge cases with upper block.
This is a cosmetic change only to simplify code.
Reported by: anish
Sponsored by: iXsystems Inc.
Modified:
head/sys/amd64/vmm/a
Author: araujo
Date: Tue Oct 30 10:02:23 2018
New Revision: 339911
URL: https://svnweb.freebsd.org/changeset/base/339911
Log:
Emulate machine check related MSR_EXTFEATURES to allow guest OSes to
boot on AMD FX Series.
PR: 224476
Submitted by: Keita Uchida
Reviewed by: rgri
Author: araujo
Date: Tue Oct 30 09:53:57 2018
New Revision: 339909
URL: https://svnweb.freebsd.org/changeset/base/339909
Log:
Allow changing lagg(4) MTU.
Previously, changing the MTU would require destroying the lagg and
creating a new one. Now it is allowed to change the MTU of
the lag
2018-09-04 18:09 GMT+08:00 Philip Paeps :
> On 2018-09-04 17:59:30 (+0800), Marcelo Araujo wrote:
>
>> 2018-09-04 17:53 GMT+08:00 Philip Paeps :
>>
>> Author: philip
>>> Date: Tue Sep 4 09:53:45 2018
>>> New Revision: 338451
>>> URL: https://s
(long)delta / 86400, ct);
> }
> +
> +end:
> + xo_close_instance("last");
> }
>
> /*
> @@ -423,7 +446,7 @@ addarg(int type, char *arg)
> ARG *cur;
>
> if ((cur = malloc(sizeof(ARG))) == NULL)
> -
Author: araujo
Date: Thu Aug 23 07:34:51 2018
New Revision: 338242
URL: https://svnweb.freebsd.org/changeset/base/338242
Log:
Add manpage entry for the new bhyve options -s "help" and -l "help".
Reported by: 0mp
Sponsored by: iXsystems Inc.
Modified:
head/usr.sbin/bhyve/bhyve.8
Modif
Author: araujo
Date: Wed Aug 22 20:23:08 2018
New Revision: 338210
URL: https://svnweb.freebsd.org/changeset/base/338210
Log:
Add -s "help" and -l "help" to print a list of supported PCI and LPC devices.
For tools that uses bhyve such like libvirt, it is important to be able to
probe what
Author: araujo
Date: Tue Aug 21 23:11:26 2018
New Revision: 338164
URL: https://svnweb.freebsd.org/changeset/base/338164
Log:
Fix resource leak when using strdup(3).
Reported by: Coverity
CID: 1394929
Sponsored by: iXsystems Inc.
Modified:
head/usr.sbin/bhyve/pci_nvme.c
Mo
Author: araujo
Date: Tue Aug 21 11:22:49 2018
New Revision: 338133
URL: https://svnweb.freebsd.org/changeset/base/338133
Log:
- Add CSV output to gstat via -C flag.
Add a -C option, similar to -B, that allows gstat to produce basic CSV output
with absolute timestamps (ISO 8601, nearly.) M
Author: araujo
Date: Mon Aug 20 04:56:37 2018
New Revision: 338089
URL: https://svnweb.freebsd.org/changeset/base/338089
Log:
NVMe spec version 1.3c says that "serial number" field must be 7-bit ASCII,
with unused bytes padded by space characters. Same for firmware number and
namespace numbe
Author: araujo
Date: Mon Aug 20 04:50:11 2018
New Revision: 338088
URL: https://svnweb.freebsd.org/changeset/base/338088
Log:
Users must set the number of queues from 1 to maximum 16 queues.
Sponsored by: iXsystems Inc.
Modified:
head/usr.sbin/bhyve/pci_nvme.c
Modified: head/usr.sbin/bh
Author: araujo
Date: Mon Aug 20 04:44:29 2018
New Revision: 338087
URL: https://svnweb.freebsd.org/changeset/base/338087
Log:
Fix double mutex lock.
Reported by: Coverity
CID: 1394833
Discussed with: Leon Dang
Sponsored by: iXsystems Inc.
Modified:
head/usr.sbin/bhy
2018-08-17 7:33 GMT+08:00 Brooks Davis :
> On Thu, Aug 16, 2018 at 05:23:26PM -0600, Warner Losh wrote:
> > On Thu, Aug 16, 2018 at 5:16 PM, Brooks Davis
> wrote:
> >
> > > On Fri, Aug 17, 2018 at 07:04:05AM +0800, Marcelo Araujo wrote:
> > > > 201
2018-08-17 3:29 GMT+08:00 Rodney W. Grimes :
> > On Thu, Aug 16, 2018 at 11:06 AM, John-Mark Gurney
> wrote:
> >
> > > Marcelo Araujo wrote this message on Thu, Aug 16, 2018 at 06:31 +:
> > > > Author: araujo
> > > > Date: Thu Aug 16 06:31:
Author: araujo
Date: Thu Aug 16 06:38:01 2018
New Revision: 337889
URL: https://svnweb.freebsd.org/changeset/base/337889
Log:
Fix a resource leak when using strdup(3) and also fix few style(9).
Reported by: Coverity
CID: 1394929
MFC after:1 week
Sponsored by: iXsystems I
Author: araujo
Date: Thu Aug 16 06:35:44 2018
New Revision: 337888
URL: https://svnweb.freebsd.org/changeset/base/337888
Log:
Remove duplicated code.
Reported by: Coverity
CID: 1394893
MFC after:1 week
Sponsored by: iXsystems Inc.
Modified:
head/usr.sbin/bhyve/pci_nvm
Author: araujo
Date: Thu Aug 16 06:31:54 2018
New Revision: 337887
URL: https://svnweb.freebsd.org/changeset/base/337887
Log:
Add a comment explaining how the PSN works and why there is no need for
a null terminator. Also mark CID 1394825 as intentional.
Reported by: Coverity
CID:
Author: araujo
Date: Thu Aug 16 06:20:25 2018
New Revision: 337886
URL: https://svnweb.freebsd.org/changeset/base/337886
Log:
Increase the mask from 15 to 255 or otherwise NVME_FEAT_SOFTWARE_PROGRESS
will never be reached.
Discussed with: Leon Dang and Darius Mihai
MFC after:
Author: araujo
Date: Wed Aug 1 00:39:21 2018
New Revision: 337023
URL: https://svnweb.freebsd.org/changeset/base/337023
Log:
- Add the ability to run bhyve(8) within a jail(8).
This patch adds a new sysctl(8) knob "security.jail.vmm_allowed",
by default this option is disable.
Submi
Author: araujo
Date: Wed Jul 25 04:33:56 2018
New Revision: 336704
URL: https://svnweb.freebsd.org/changeset/base/336704
Log:
MFC r336188:
Improve bhyve exit(3) error code.
The bhyve(8) exit status indicates how the VM was terminated:
0 rebooted
1 powered off
2 hal
Author: araujo
Date: Wed Jul 11 07:33:19 2018
New Revision: 336192
URL: https://svnweb.freebsd.org/changeset/base/336192
Log:
MFC r335026:
style(9) remove unnecessary blank tabs.
Obtained from:TrueOS
Sponsored by: iXsystems Inc.
Modified:
stable/11/usr.sbin/bhyvectl/bhyvec
Author: araujo
Date: Wed Jul 11 07:22:05 2018
New Revision: 336191
URL: https://svnweb.freebsd.org/changeset/base/336191
Log:
MFC r335027, r335050
r335027:
When this code was introduced at r300829 the author forgot to add
the BSD license header that is the same as in its C header file.
Author: araujo
Date: Wed Jul 11 07:19:42 2018
New Revision: 336190
URL: https://svnweb.freebsd.org/changeset/base/336190
Log:
MFC r335030:
Add SPDX tags to vmm(4).
Sponsored by: iXsystems Inc.
Modified:
stable/11/sys/amd64/vmm/amd/npt.c
stable/11/sys/amd64/vmm/amd/npt.h
stable/1
Author: araujo
Date: Wed Jul 11 07:16:13 2018
New Revision: 336189
URL: https://svnweb.freebsd.org/changeset/base/336189
Log:
MFC r335025:
Add SPDX tags to bhyve(8).
Discussed with: rgrimes, pfg and mav.
Obtained from:TrueOS
Sponsored by: iXsystems Inc.
Modified:
s
a bare integer?
>
> Thanks,
>
> Ravi (rpokala@)
>
> -Original Message-
> From: on behalf of Marcelo Araujo
>
> Date: 2018-07-10, Tuesday at 20:23
> To: , , <
> svn-src-h...@freebsd.org>
> Subject: svn commit: r336188 - head/usr.sbin/bhyve
Author: araujo
Date: Wed Jul 11 03:23:09 2018
New Revision: 336188
URL: https://svnweb.freebsd.org/changeset/base/336188
Log:
Improve bhyve exit(3) error code.
The bhyve(8) exit status indicates how the VM was terminated:
0 rebooted
1 powered off
2 halted
3 triple
Author: araujo
Date: Tue Jul 10 05:36:32 2018
New Revision: 336162
URL: https://svnweb.freebsd.org/changeset/base/336162
Log:
Fix style(9) space and tab.
Modified:
head/usr.sbin/bhyve/pci_virtio_block.c
Modified: head/usr.sbin/bhyve/pci_virtio_block.c
Author: araujo
Date: Tue Jul 10 04:26:32 2018
New Revision: 336161
URL: https://svnweb.freebsd.org/changeset/base/336161
Log:
MFC r334307, r335103-r335104
r334307:
Simplify macros EFPRINTF and EFFLUSH. [0]
Also stdarg(3) says that each invocation of va_start() must be paired
with a co
Author: araujo
Date: Thu Jul 5 03:33:58 2018
New Revision: 335974
URL: https://svnweb.freebsd.org/changeset/base/335974
Log:
- Add bhyve NVMe device emulation.
The initial work on bhyve NVMe device emulation was done by the GSoC student
Shunsuke Mie and was heavily modified in performan,
Author: araujo
Date: Wed Jun 27 03:58:02 2018
New Revision: 335688
URL: https://svnweb.freebsd.org/changeset/base/335688
Log:
MFC r333622, r334019, r334084
r333622:
vq_getchain() can return -1 if some descriptor(s) are invalid and prints
a diagnostic message. So we do a sanity checking
Author: araujo
Date: Thu Jun 14 06:24:29 2018
New Revision: 335111
URL: https://svnweb.freebsd.org/changeset/base/335111
Log:
Restore miwi's src commit bit. Welcome back Martin Wilke!
Martin Wilke will be mentored by myself for a brief period.
Approved by: core
Modified:
svnadmin/conf
Author: araujo
Date: Thu Jun 14 01:34:53 2018
New Revision: 335104
URL: https://svnweb.freebsd.org/changeset/base/335104
Log:
Fix style(9) space vs tab.
Reviewed by: jhb
MFC after:3 weeks.
Sponsored by: iXsystems Inc.
Differential Revision:https://reviews.freebsd.org/D157
Author: araujo
Date: Thu Jun 14 01:28:55 2018
New Revision: 335103
URL: https://svnweb.freebsd.org/changeset/base/335103
Log:
Fix style(9) space vs tab.
Reviewed by: jhb
MFC after:3 weeks.
Sponsored by: iXsystems Inc.
Differential Revision:https://reviews.freebsd.org/D157
Author: araujo
Date: Wed Jun 13 11:49:34 2018
New Revision: 335050
URL: https://svnweb.freebsd.org/changeset/base/335050
Log:
While I was investigating CID 1194192 related with a resource leak on mrp
memory
allocation, I could identify that actually we use this pointer on pci_emul.c
as
wel
Author: araujo
Date: Wed Jun 13 07:02:58 2018
New Revision: 335030
URL: https://svnweb.freebsd.org/changeset/base/335030
Log:
Add SPDX tags to vmm(4).
MFC after:4 weeks.
Sponsored by: iXsystems Inc.
Modified:
head/sys/amd64/vmm/amd/amdvi_hw.c
head/sys/amd64/vmm/amd/amdvi_priv.h
Author: araujo
Date: Wed Jun 13 04:00:21 2018
New Revision: 335027
URL: https://svnweb.freebsd.org/changeset/base/335027
Log:
When this code was introduced at r300829 the author forgot to add
the BSD license header that is the same as in its C header file.
MFC after:4 weeks.
Sponsor
Author: araujo
Date: Wed Jun 13 03:35:24 2018
New Revision: 335026
URL: https://svnweb.freebsd.org/changeset/base/335026
Log:
style(9) remove unnecessary blank tabs.
Obtained from:TrueOS
MFC after:4 weeks.
Sponsored by: iXsystems Inc.
Modified:
head/usr.sbin/bhyvectl/bhyv
Author: araujo
Date: Wed Jun 13 03:22:08 2018
New Revision: 335025
URL: https://svnweb.freebsd.org/changeset/base/335025
Log:
Add SPDX tags to bhyve(8).
Discussed with: rgrimes, pfg and mav.
Obtained from:TrueOS
MFC after:4 weeks.
Sponsored by: iXsystems Inc.
Modifi
2018-06-11 22:46 GMT+08:00 Pedro Giffuni :
>
>
> On 06/10/18 21:41, Marcelo Araujo wrote:
>
>
>
> 2018-06-11 10:25 GMT+08:00 Pedro Giffuni :
>
>>
>>
>> On 10/06/2018 21:09, Marcelo Araujo wrote:
>>
>>> Author: araujo
>>> Date
Author: araujo
Date: Mon Jun 11 15:18:31 2018
New Revision: 334951
URL: https://svnweb.freebsd.org/changeset/base/334951
Log:
More style(9) fixes, space vs tab.
Modified:
head/usr.sbin/bhyve/pci_virtio_block.c
Modified: head/usr.sbin/bhyve/pci_virtio_block.c
=
2018-06-11 10:25 GMT+08:00 Pedro Giffuni :
>
>
> On 10/06/2018 21:09, Marcelo Araujo wrote:
>
>> Author: araujo
>> Date: Mon Jun 11 02:09:20 2018
>> New Revision: 334940
>> URL: https://svnweb.freebsd.org/changeset/base/334940
>>
>> Log:
>&
Mon Jun 11 02:09:20 2018
(r334940)
@@ -0,0 +1,718 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2016 Jakub Klama .
+ * Copyright (c) 2018 Marcelo Araujo .
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with o
Author: araujo
Date: Tue May 29 01:46:00 2018
New Revision: 334307
URL: https://svnweb.freebsd.org/changeset/base/334307
Log:
Simplify macros EFPRINTF and EFFLUSH. [0]
Also stdarg(3) says that each invocation of va_start() must be paired
with a corresponding invocation of va_end() in the sam
Author: araujo
Date: Mon May 28 06:01:02 2018
New Revision: 334276
URL: https://svnweb.freebsd.org/changeset/base/334276
Log:
Remove unnecessary free(string) from EXAMPLES.
Reported by: se
Modified:
head/lib/libc/string/strsep.3
Modified: head/lib/libc/string/strsep.3
=
Author: araujo
Date: Mon May 28 05:01:42 2018
New Revision: 334275
URL: https://svnweb.freebsd.org/changeset/base/334275
Log:
Update strsep(3) EXAMPLE section regards the usage of assert(3).
As many people has pointed out, using assert(3) shall be not the best approach
to verify if strdup
On Sat, May 26, 2018, 4:22 AM Rodney W. Grimes <
free...@pdx.rh.cn85.dnsmgr.net> wrote:
> > On Sat, May 26, 2018, 4:09 AM Warner Losh wrote:
> >
> > >
> > >
> > > On Fri, May 25, 2018 at 2:02 PM, Ed Maste wrote:
> > >
&
On Sat, May 26, 2018, 4:09 AM Warner Losh wrote:
>
>
> On Fri, May 25, 2018 at 2:02 PM, Ed Maste wrote:
>
>> On 25 May 2018 at 14:26, Marcelo Araujo wrote:
>> >
>> >> The fact that we don't do NDEBUG builds normally does not allow us to
>> &g
Fixed at r334219.
Thanks.
2018-05-26 3:08 GMT+08:00 Konstantin Belousov :
> On Fri, May 25, 2018 at 06:54:40PM +0000, Marcelo Araujo wrote:
> > Author: araujo
> > Date: Fri May 25 18:54:40 2018
> > New Revision: 334216
> > URL: https://svnweb.freebsd.org/change
Author: araujo
Date: Fri May 25 19:12:30 2018
New Revision: 334219
URL: https://svnweb.freebsd.org/changeset/base/334219
Log:
We don't need check if str is NULL as free(3) will handle NULL
argument.
Reported by: kib@
Modified:
head/usr.sbin/bhyve/bhyverun.c
Modified: head/usr.sbin/bh
2018-05-26 3:01 GMT+08:00 Shawn Webb :
> On Sat, May 26, 2018 at 02:57:29AM +0800, Marcelo Araujo wrote:
> > Thanks Shawn,
> >
> > I think there are plenty of places to fix this case! Thanks for the extra
> > work :D.
>
> Any time. I'm glad to help. If you
Thanks Shawn,
I think there are plenty of places to fix this case! Thanks for the extra
work :D.
2018-05-26 2:34 GMT+08:00 Shawn Webb :
> On Sat, May 26, 2018 at 02:26:33AM +0800, Marcelo Araujo wrote:
> > 2018-05-26 2:21 GMT+08:00 Brooks Davis :
> >
> > > On Sat, Ma
Author: araujo
Date: Fri May 25 18:54:40 2018
New Revision: 334216
URL: https://svnweb.freebsd.org/changeset/base/334216
Log:
After a long discussion about assert(3), we gonna use a HardenedBSD
approach to chek strdup(3) memory allocation.
Submitted by: Shaw Webb
Reported by: brooks
2018-05-26 2:21 GMT+08:00 Brooks Davis :
> On Sat, May 26, 2018 at 01:56:28AM +0800, Marcelo Araujo wrote:
> > 2018-05-26 1:44 GMT+08:00 Brooks Davis :
> >
> > > On Sat, May 26, 2018 at 01:21:33AM +0800, Marcelo Araujo wrote:
> > > > On Sat, May 26
2018-05-26 2:21 GMT+08:00 Brooks Davis :
> On Sat, May 26, 2018 at 01:56:28AM +0800, Marcelo Araujo wrote:
> > 2018-05-26 1:44 GMT+08:00 Brooks Davis :
> >
> > > On Sat, May 26, 2018 at 01:21:33AM +0800, Marcelo Araujo wrote:
> > > > On Sat, May 26
2018-05-26 1:44 GMT+08:00 Brooks Davis :
> On Sat, May 26, 2018 at 01:21:33AM +0800, Marcelo Araujo wrote:
> > On Sat, May 26, 2018, 1:11 AM Eitan Adler wrote:
> >
> > > On 25 May 2018 at 08:23, Marcelo Araujo
> wrote:
> > > >
> > > >
> >
On Sat, May 26, 2018, 1:11 AM Eitan Adler wrote:
> On 25 May 2018 at 08:23, Marcelo Araujo wrote:
> >
> >
> > On Fri, May 25, 2018, 11:11 PM Brooks Davis wrote:
> >>
> >> On Fri, May 25, 2018 at 02:07:05AM +, Marcelo Araujo wrote:
> >> > A
On Fri, May 25, 2018, 11:11 PM Brooks Davis wrote:
> On Fri, May 25, 2018 at 02:07:05AM +0000, Marcelo Araujo wrote:
> > Author: araujo
> > Date: Fri May 25 02:07:05 2018
> > New Revision: 334199
> > URL: https://svnweb.freebsd.org/changeset/base/334199
> >
&g
On Fri, May 25, 2018, 11:11 PM Brooks Davis wrote:
> On Fri, May 25, 2018 at 02:07:05AM +0000, Marcelo Araujo wrote:
> > Author: araujo
> > Date: Fri May 25 02:07:05 2018
> > New Revision: 334199
> > URL: https://svnweb.freebsd.org/changeset/base/334199
> >
&g
Author: araujo
Date: Fri May 25 02:07:05 2018
New Revision: 334199
URL: https://svnweb.freebsd.org/changeset/base/334199
Log:
Fix a memory leak on topology_parse().
strdup(3) allocates memory for a copy of the string, does the copy and
returns a pointer to it. If there is no sufficient me
Author: araujo
Date: Wed May 23 09:34:51 2018
New Revision: 334084
URL: https://svnweb.freebsd.org/changeset/base/334084
Log:
pthread_rwlock_unlock(3) returns 0 if successful, otherwise an error number
will be returned to indicate the error, so I'm applying an assert(3) to do
a sanity check
Author: araujo
Date: Tue May 22 06:02:11 2018
New Revision: 334021
URL: https://svnweb.freebsd.org/changeset/base/334021
Log:
Revert: r334016
Revert for now this change, it in somehow breaks init_pci.
Modified:
head/usr.sbin/bhyve/pci_emul.c
Modified: head/usr.sbin/bhyve/pci_emul.c
===
Author: araujo
Date: Tue May 22 05:21:53 2018
New Revision: 334019
URL: https://svnweb.freebsd.org/changeset/base/334019
Log:
Include atkbdc header where there are declared the prototype functions
atkbdc_event and atkbdc_init.
MFC after:4 weeks.
Sponsored by: iXsystems Inc.
Modifie
1 - 100 of 463 matches
Mail list logo