Page MenuHomeFreeBSD
Feed Advanced Search

May 9 2019

rgrimes added a comment to D19501: bhyve virtio needs barriers.

This may be a fix for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231117, the person is testing.

May 9 2019, 4:50 PM

May 7 2019

rgrimes accepted D19501: bhyve virtio needs barriers.

Thanks for the quick spin on this Patrick

May 7 2019, 10:22 PM
rgrimes added a comment to D19501: bhyve virtio needs barriers.

Ping

May 7 2019, 1:31 PM

May 4 2019

rgrimes committed rS347124: MFC: r346715: Acpi MADT table correction for VM_MAXCPU > 21.
MFC: r346715: Acpi MADT table correction for VM_MAXCPU > 21
May 4 2019, 1:43 PM

May 3 2019

rgrimes accepted D19001: Bhyve VT-d IOMMU: Support capability detection for multiple translation units.

@jhb it would be good to not have this issue in 11.3

May 3 2019, 8:44 AM · bhyve

May 2 2019

rgrimes added inline comments to D20117: Restructure mbuf send tags to provide stronger guarantees..
May 2 2019, 8:44 PM

May 1 2019

rgrimes added a comment to D20117: Restructure mbuf send tags to provide stronger guarantees..

You can mark all my comments as done, I am fine with your answers, I added bz and requested his review on the one change.

May 1 2019, 9:48 PM
rgrimes added a reviewer for D20117: Restructure mbuf send tags to provide stronger guarantees.: bz.
May 1 2019, 9:46 PM
rgrimes added a comment to D20065: Use system wiring in vmm(4)..
In D20065#433092, @kib wrote:
In D20065#432936, @jhb wrote:
In D20065#432917, @jhb wrote:

To be clear, the limit isn't being applied today? From the existing code it seems like it should be already in force if I'm reading the diff to vm_map_wire correctly?

The diff is being applied on top of D19908. Without that change, the limit does not get applied to bhyve.

Ok.

Also, if bhyve is allowed to ignore the limit, the amount of wired memory it uses does mean that small requests by, say, gpg will then fail on the host, yes?

Yes, that's right (and true in head today). In the original version of this diff, where bhyve was doing system wiring, that was not the case since system-wired pages are not counted towards the limit.

Ok. I still don't really know how I feel. I think I probably want all long-term wirings to honor the limit as kib@ says and that users will just have to up the limit when using wired VMs with bhyve. If we can get a suitably unique errno value back in whatever creates the wired memory for bhyve and emit a useful error message to the user, that is probably sufficient.

Ok. I guess we can just try and see if there's any fallout. I do think it means that D19908 is not MFCable.

If you add a knob to disable accounting for bhyve requests, it can be merged.

May 1 2019, 5:26 PM
rgrimes accepted D19908: Provide accounting of user-wired pages..

Do we have to add _user_ to the variables, I only see a rename here, and not a second value used in place of where _users_ went in, or am I totally missing something?

May 1 2019, 5:23 PM
rgrimes added a comment to D19908: Provide accounting of user-wired pages..

Do we have to add _user_ to the variables, I only see a rename here, and not a second value used in place of where _users_ went in, or am I totally missing something?

May 1 2019, 5:21 PM
rgrimes added a comment to D20117: Restructure mbuf send tags to provide stronger guarantees..

I have made one quick pass over this, now that I have read all the bits I would like to make a second pass, my comments now are nits mostly, and can be safely ignored. However I do, as others, have some pretty big concerns about sharing the rcvif with tags, is there some great cost in not doing that?

May 1 2019, 4:36 PM
rgrimes resigned from D20065: Use system wiring in vmm(4)..
May 1 2019, 12:37 AM
rgrimes added a comment to D20065: Use system wiring in vmm(4)..

Well this in any way help with the fact we do not apply any pressure to the zfs arc_max and end up in a memory shortfall that causes high paging? I suspect not as most people do not wire there VM's in memory unless they know that is what they need to do to keep zfs from killing your box with OOM

May 1 2019, 12:36 AM

Apr 27 2019

rgrimes added a comment to D20065: Use system wiring in vmm(4)..

I can see both sides of this, can I ask that the bhyve developers group which meets every 2 weeks be given a chance to discuss this and provide feedback on it? Thanks. Many of us well be at BSDCan a day early for bhyvecon if you wish to discuss it in person.

Why can't the discussion happen here?

Some of it is, but we meet on a cyclic basis to have high bandwidth low delay discussions and I was just asking for the opportunity to allow that discussion to occur. Or if you referring to the in person option that was offered up "if you wish".

Apr 27 2019, 6:40 AM

Apr 26 2019

rgrimes requested changes to D20065: Use system wiring in vmm(4)..

I can see both sides of this, can I ask that the bhyve developers group which meets every 2 weeks be given a chance to discuss this and provide feedback on it? Thanks. Many of us well be at BSDCan a day early for bhyvecon if you wish to discuss it in person.

Apr 26 2019, 3:48 PM
rgrimes added a comment to D19993: Don't symlink fusefs.ko to fuse.ko on PPC.

The symlink is a new addition for 13.0 (and hopefully 12.1). I would be ok with deleting it for 13.0. But how about I commit this change to head first, and then delete the symlink? That will make MFCs cleaner.

Apr 26 2019, 3:27 PM

Apr 25 2019

rgrimes committed rS346717: Make bhyve SMBIOS table topology aware.
Make bhyve SMBIOS table topology aware
Apr 25 2019, 10:54 PM
rgrimes closed D18998: Make bhyve SMBIOS table topology aware.
Apr 25 2019, 10:54 PM
rgrimes committed rS346715: Acpi MADT table correction for VM_MAXCPU > 21.
Acpi MADT table correction for VM_MAXCPU > 21
Apr 25 2019, 10:52 PM
rgrimes closed D18815: Bhyve acpi MADT table correction for VM_MAXCPU > 21.
Apr 25 2019, 10:52 PM
rgrimes committed rS346714: Add accessor function for vm->maxcpus.
Add accessor function for vm->maxcpus
Apr 25 2019, 10:51 PM
rgrimes closed D18755: Add accessor for vm->maxcpus in preperation for run time maxcpu setting.
Apr 25 2019, 10:51 PM
rgrimes committed rS346710: MFC: r345888: Use IN_foo() macros from sys/netinet/in.h inplace of.
MFC: r345888: Use IN_foo() macros from sys/netinet/in.h inplace of
Apr 25 2019, 9:28 PM
rgrimes added inline comments to D20044: tun/tap: merge.
Apr 25 2019, 5:22 PM
rgrimes accepted D18831: Increase bhyve BLOCKIF_IOV_MAX and VTBLK_RINGSZ to 128 to support modern Windows guests.

This makes it much clearer to me, thanks jhb

Apr 25 2019, 5:03 PM · bhyve

Apr 20 2019

rgrimes added a comment to D19993: Don't symlink fusefs.ko to fuse.ko on PPC.

We only need to maintain "backwards" compatibility in the stable/ branches (12 and 11) as far as I am concerned head can just nuke the compatibilty link, and have a 13.0 release notes item that is "fuse has been renamed to fusefs".

Apr 20 2019, 10:28 PM
rgrimes requested changes to D19976: bhyve: Support a _VARS.fd file for bootrom.
Apr 20 2019, 12:45 AM
rgrimes accepted D19975: vmm: Add emulation for the `add` instruction.

A question to @jhb, should the order of the enum and the code updated to be in alphabetic order, in a seperate review, it would only obfuscate the change to do it here.

Apr 20 2019, 12:09 AM

Apr 15 2019

rgrimes accepted D19587: net: adjust randomized address bits.
Apr 15 2019, 10:46 PM

Apr 14 2019

rgrimes accepted D19905: bhyve: Add EUI64 to NVMe device.
Apr 14 2019, 6:30 PM
rgrimes accepted D19904: bhyve: Add Integrated Endpoint to PCIe Capability.

Looks good, other than a lot of extra blank lines.

Apr 14 2019, 6:26 PM

Apr 12 2019

rgrimes added a comment to D19587: net: adjust randomized address bits.

Would iflib like any kind of UPDATING or relnote mention for the generated 'stable' MAC address likely changing (since we're restricting the range now to a subset of the FF OUI), or is it fine without explicit mention?

Apr 12 2019, 4:26 PM

Apr 7 2019

rgrimes accepted D19839: add INET6 support to nfsdumpstate for the client callback address.

You can mark all my comments as done, you have addressed them to my satisfaction.

Apr 7 2019, 8:47 PM
rgrimes added inline comments to D19839: add INET6 support to nfsdumpstate for the client callback address.
Apr 7 2019, 3:57 AM

Apr 6 2019

rgrimes added inline comments to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.
Apr 6 2019, 8:13 AM
rgrimes accepted D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.
Apr 6 2019, 4:14 AM

Apr 5 2019

rgrimes added a comment to D18670: Minor speedup for load_kld function.

I have performed a visual only review.

Greatly appreciated. Can I take that as approval by a src developer?

Apr 5 2019, 9:26 PM
rgrimes accepted D18670: Minor speedup for load_kld function.

I have performed a visual only review.

Apr 5 2019, 9:01 PM
rgrimes accepted D19829: Write string constant differently to improve readability..

Thank you, that is 100x clearer as to what is in the constant

Apr 5 2019, 8:15 AM

Apr 3 2019

rgrimes accepted D19695: bhyve(8): Fix NVMe data structure copy to guest.

Confirmation of a working Windows 2019 boot after this patch: https://lists.freebsd.org/pipermail/freebsd-virtualization/2019-April/007333.html

Apr 3 2019, 9:01 AM

Apr 2 2019

rgrimes added a comment to D19788: bhyve: Use separate fds for stdin and stdout..

Can we get a review to cause bhyve -b to emit a deprecation warning notice (gone_in(13)) if someone tries to use it? That could be merged to stable/12, then the code in head killed.
This would also apply to the bvmconsole driver, is there someway to emit a warning during config(8) when someone uses a feature being deprecated? Doing this provides us feedback
sooner rather than later that some feature was in use some place.

Apr 2 2019, 2:32 AM
rgrimes accepted D19786: bhyve: Fix indentation in uart_emul.c.

Looks like someone may of removed a condition at some time in the past and not re-dented the code to produce a minimal diff.

Apr 2 2019, 2:15 AM
rgrimes accepted D19787: bhyve: Stop compiling with -O0..

Does this variable get used by default? I saw this here and just ignored it as I thought it would only be invoked if I asked for a DEBUG build from a level above. If we are always adding DEBUG_FLAGS to our compiles perhaps it should be called something else?

Apr 2 2019, 1:54 AM

Mar 25 2019

rgrimes resigned from D19019: zfs stand: plumb primary vdev out through zfs_probe_dev as needed.
Mar 25 2019, 9:21 AM

Mar 19 2019

rgrimes added a comment to D19649: Rename fuse(4) to fusefs(4).

Please have a discussion on arch@ or filesystems@, this review needs more discussion

Mar 19 2019, 10:23 PM
rgrimes added a comment to D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code.

Can I get some final accept on this, I updated the open issues

Mar 19 2019, 3:01 AM

Mar 15 2019

rgrimes added inline comments to D19587: net: adjust randomized address bits.
Mar 15 2019, 7:42 PM

Mar 14 2019

rgrimes accepted D19580: Fix bhyve PCIe capability emulation.
Mar 14 2019, 11:38 AM
rgrimes added reviewers for D19580: Fix bhyve PCIe capability emulation: jhb, rgrimes.
Mar 14 2019, 11:34 AM
rgrimes accepted D19579: Fix bhyve's NVMe Identify Namespace data.
Mar 14 2019, 11:30 AM
rgrimes added a reviewer for D19579: Fix bhyve's NVMe Identify Namespace data: jhb.
Mar 14 2019, 11:29 AM

Mar 11 2019

rgrimes added inline comments to D19357: PFIL_MEMPTR support for ipfw link level hook.
Mar 11 2019, 10:05 PM
rgrimes accepted D19535: Support device-independent labels for geom_flashmap slices..
Mar 11 2019, 5:16 PM
rgrimes added a comment to D19535: Support device-independent labels for geom_flashmap slices..

I like it, just nits, that for the most part you can ignore, other than $FreeBSD: vs $FreeBSD$

Mar 11 2019, 5:16 PM

Mar 9 2019

rgrimes added a comment to D19506: Fix bug in bhyve by ignoring writes to errata MSRs in AMD cpus.

This appears to be used to deal with a core hang on specific CPU's, we need to see that we have mitigated that in the host, and the decide what the appropriate action here is, I am uncomfortable with just making this silently disappear. Deferning to jhb.

Mar 9 2019, 7:55 PM · bhyve
rgrimes added a comment to D19506: Fix bug in bhyve by ignoring writes to errata MSRs in AMD cpus.

Though this does fix your issue by silencing the log, it does little to improve the situation. I think what we may want to do is to add yet another option to the bhyve command that along with -w to ignore invalid MSR access to do so silently so that we do not have to add code like this everything a new msr comes into play. John, Patrick your thoughts on this approach?

Mar 9 2019, 1:44 PM · bhyve
rgrimes added reviewers for D19506: Fix bug in bhyve by ignoring writes to errata MSRs in AMD cpus: jhb, pmooney_pfmooney.com.
Mar 9 2019, 1:34 PM · bhyve

Mar 8 2019

rgrimes added a comment to D19426: post-commit hooks: Accept BZ URLs in PR lines.

I would be comfortable with simply "https://bugs.freebsd.org/12344" as that can likely work forever.

Note that https://bugs.freebsd.org/12344 does work - we should accept either https://bugs.freebsd.org/bugzilla/show_bug.cgi?id= or https://bugs.freebsd.org/[0-9]+

Mar 8 2019, 9:33 PM
rgrimes added a comment to D19459: subversion: update commit message template to allow URLs in PR field.

I believe what your wanting is web server re-write rules, that would rewrite the URL in and out of the web pages to have the preffered form. Beyond my area of expertise to implement, but I know it can be done and that is probably the easiest place to do it (ie, no modifying bugzilla should be required.)

Mar 8 2019, 4:43 PM

Mar 7 2019

rgrimes accepted D19501: bhyve virtio needs barriers.
Mar 7 2019, 8:51 PM
rgrimes accepted D19499: bhyve uart broken for win2016 guest.

I removed a redundant "to" in the description. Patch looks good to me. Copyright over to jhb@

Mar 7 2019, 8:47 PM · bhyve
rgrimes updated the summary of D19499: bhyve uart broken for win2016 guest.
Mar 7 2019, 8:46 PM · bhyve

Mar 6 2019

rgrimes accepted D19485: Drop "All rights reserved" from my copyright statements..
Mar 6 2019, 9:58 PM
rgrimes added inline comments to D19485: Drop "All rights reserved" from my copyright statements..
Mar 6 2019, 9:28 PM
rgrimes added a comment to D19485: Drop "All rights reserved" from my copyright statements..

I'll review if you ack your are done updating John

Mar 6 2019, 8:07 PM
rgrimes accepted D19485: Drop "All rights reserved" from my copyright statements..
Mar 6 2019, 7:46 PM

Mar 5 2019

rgrimes accepted D19460: subversion: update commit message template to allow URLs in PR field.
Mar 5 2019, 7:42 PM
rgrimes added a comment to D19460: subversion: update commit message template to allow URLs in PR field.

Close, very very close, but still slightly short of leaving no doubt as to what goes here.

Mar 5 2019, 7:22 PM

Mar 4 2019

rgrimes added inline comments to D19459: subversion: update commit message template to allow URLs in PR field.
Mar 4 2019, 10:12 PM

Mar 1 2019

rgrimes added a reviewer for D19426: post-commit hooks: Accept BZ URLs in PR lines: rgrimes.
Mar 1 2019, 9:24 PM
rgrimes added a comment to D19426: post-commit hooks: Accept BZ URLs in PR lines.

Missing is the change to the commit message template to update it to say URL instead of PRxxxx

Mar 1 2019, 9:23 PM
rgrimes accepted D19422: if_vxlan(4) Allow set MTU more than 1500 bytes..
Mar 1 2019, 4:56 PM

Feb 28 2019

rgrimes added inline comments to D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code.
Feb 28 2019, 2:51 PM
rgrimes updated the diff for D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code.

Convert nat64_check_ip4 in sys/netpfil/ipfw/nat64/nat64_translate.h to use IN_foo macros rather than hand rolled code.

Feb 28 2019, 2:50 PM
rgrimes added a reviewer for D19400: attempt to load vmm.ko if it's not already loaded (bhyveload): jhb.
Feb 28 2019, 2:01 AM
rgrimes added a reviewer for D19400: attempt to load vmm.ko if it's not already loaded (bhyveload): bhyve.
Feb 28 2019, 2:00 AM

Feb 27 2019

rgrimes accepted D19299: bhyve can miss PIR wake-ups.
Feb 27 2019, 9:01 PM · bhyve
rgrimes added inline comments to D19299: bhyve can miss PIR wake-ups.
Feb 27 2019, 8:42 PM · bhyve
rgrimes added a comment to D19380: build SD images for boards.
In D19380#414840, @manu wrote:

I don't think this is a good approach.
My goal for this is :

  • Finish u-boot-install (https://gist.github.com/evadot/1bcad7c4c1e5cc7f9a692f4d19ab5421) to handle multi file u-boot
  • Do a rpi-fw-install script and include it in the rpi-firmware package
  • Create to GENERICSD image for arm64 (like the armv7 one), one with MBR and one with GPT scheme.
  • Remove board configs that have no quirks from release.
  • re@ could then create only two images (GENERICSD-MBR, GENERICSD-GPT) and install u-boot on each one based on list somewhere.
Feb 27 2019, 7:27 PM
rgrimes updated the test plan for D19380: build SD images for boards.
Feb 27 2019, 7:25 PM
rgrimes added a comment to D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.

I agree with John that we should do everything we can to eliminate class A/B/C rather than just shuffle it around. ..trimmed...

Some of the patches I have already posted do infact remove the direct use of IN_CLASSA by use of the proper macro IN_LOOPBACK. I shall keep an eye out as I look over the code for issues that effect my stated goals in cleaning up things such that IN_ZERONET, IN_LOOPBACK, and IN_EXPERIMENTAL can be used to fully effect all places that are trying to deal with these ranges should they ever be redefined.

Feb 27 2019, 2:27 PM

Feb 25 2019

rgrimes accepted D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

The added kernel code seems to be mssing INET/INET6 ifdefs. None of the inline comments are marked done, but the code looks as if you have addressed them.

Feb 25 2019, 1:08 AM
rgrimes added a comment to D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.

Re: Classs A/B/C: I'd be quite happy to see those definitions go away.

In my first pass audit of a search results on IN_CLASS[A-E] the common use cases here are the default calculation of netmasks, 2 minutes ago I would of told you that probably can not go away, but it just hit me, IN_DEFAULTMASKFOR(i) could be written that would incorporate the ancient class rules in a central place and cleaning up some code. Thoughts?

Feb 25 2019, 12:58 AM

Feb 24 2019

rgrimes added a comment to D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.

I don't understand the purpose of this review. As it says, these changes should not be committed. I'm not actually sure of the official status of Class E, although I suspect it is still experimental/not for production use.

The changes well need expansion, the present form is to make a patch available so that the other patches can be tested.
A walk down through the RFC's say a few things, one is that it is not called Class E anymore. It is still reserved.

Feb 24 2019, 6:08 PM
rgrimes added a reviewer for D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code: kp.
Feb 24 2019, 5:51 PM
rgrimes removed a reviewer for D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo: bz.
Feb 24 2019, 5:30 PM
rgrimes edited reviewers for D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code, added: karels; removed: bz.
Feb 24 2019, 5:30 PM
rgrimes added a reviewer for D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo: karels.
Feb 24 2019, 5:29 PM
rgrimes updated the diff for D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code.

Add some more places that hand crafted macros are used, ip_input, ip_output, netdump code.

Feb 24 2019, 7:38 AM
rgrimes created D19317: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code.
Feb 24 2019, 5:36 AM
rgrimes created D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.
Feb 24 2019, 5:10 AM
rgrimes committed rS344490: MFC r339707: Allow fdisk(8) to deal with sectors larger than 2048.
MFC r339707: Allow fdisk(8) to deal with sectors larger than 2048
Feb 24 2019, 1:56 AM

Feb 23 2019

rgrimes updated the diff for D18755: Add accessor for vm->maxcpus in preperation for run time maxcpu setting.

Address review comments from Patrick Mooney. Found some additional places that caching would be helpful so update them too.

Feb 23 2019, 7:06 PM

Feb 22 2019

rgrimes added a comment to D19299: bhyve can miss PIR wake-ups.

In the future it helps to upload full file diffs, not sure what vcs your using or what its command is, for svn I use svn diff -x U999999.

Feb 22 2019, 10:53 PM · bhyve
rgrimes added inline comments to D18755: Add accessor for vm->maxcpus in preperation for run time maxcpu setting.
Feb 22 2019, 6:23 PM
rgrimes added a comment to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

Whether or not "#ifdef INET6" and "#ifdef INET" should be in the code is still an open question.
I was hoping bz@ could answer this?
(I, personally, was of the understanding that this was no longer required/recommended for
FreeBSD sources. If bz@ does not know the correct answer for this, I will ask on freebsd-net@.)
At this point I have made no changes to the Makefile.
To build/run it, there is a small kernel change required, but I did not include that in this review.

Feb 22 2019, 12:51 AM

Feb 21 2019

rgrimes added inline comments to D18846: Move amd apic page and intel guest_msrs pages into seperate data structures.
Feb 21 2019, 8:56 PM
rgrimes updated the diff for D18998: Make bhyve SMBIOS table topology aware.

Add handling of cores or threads > 254 by truncating to 0, per smbios 2.6 spec

Feb 21 2019, 8:42 PM
rgrimes added a comment to D18998: Make bhyve SMBIOS table topology aware.
In D18998#412749, @jhb wrote:

FYI, you can get SMBIOS specs here: https://www.dmtf.org/standards/smbios

Feb 21 2019, 8:24 PM