Re: passthru requires guest memory to be wired

2015-09-01 Thread Peter Grehan

http://people.freebsd.org/~grehan/grub-bhyve-S.diff

I confirmed, that patch works.


 Thanks Craig. Submitted to the grub2-bhyve repo and included in the 
0.40 release of that.


later,

Peter

___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: passthru requires guest memory to be wired

2015-08-29 Thread Craig Rodrigues
On Thu, Aug 27, 2015 at 8:27 PM, Peter Grehan gre...@freebsd.org wrote:

 http://people.freebsd.org/~grehan/grub-bhyve-S.diff



I confirmed, that patch works.  Thanks!

--
Craig
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: passthru requires guest memory to be wired

2015-08-27 Thread Craig Rodrigues
On Tue, Aug 25, 2015 at 5:29 PM, Peter Grehan gre...@freebsd.org wrote:

 Hi Craig,

 '-S' needs to be passed to bhyveload *and* bhyve if PCI passthru is used.


 Does grub-bhyve need this as well?


  It does: I need to commit the change for this.


Do you have a patch for this that I can use?  I need this to restore
functionality in my bhyve VM
environment that I am working with.

--
Craig
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: passthru requires guest memory to be wired

2015-08-27 Thread Peter Grehan

Hi Craig,


Do you have a patch for this that I can use?  I need this to restore
functionality in my bhyve VM environment that I am working with.


 Can you give this a try ?
http://people.freebsd.org/~grehan/grub-bhyve-S.diff

later,

Peter.

___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: passthru requires guest memory to be wired

2015-08-25 Thread Craig Rodrigues
On Tue, Aug 25, 2015 at 11:53 AM, Craig Rodrigues rodr...@freebsd.org
wrote:


 According to this commit:
 https://reviews.freebsd.org/rS284539

 '-S' needs to be passed to bhyveload *and* bhyve if PCI passthru is used.


Does grub-bhyve need this as well?

--
Craig
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: passthru requires guest memory to be wired

2015-08-25 Thread Neel Natu
Hi Craig,

On Tue, Aug 25, 2015 at 11:53 AM, Craig Rodrigues rodr...@freebsd.org wrote:
 Hi,

 I updated one of my FreeBSD boxes to latest CURRENT, and when I started
 a bhyve VM which uses PCI passthru, I got this error:

 passthru requires guest memory to be wired

 According to this commit:
 https://reviews.freebsd.org/rS284539

 '-S' needs to be passed to bhyveload *and* bhyve if PCI passthru is used.

 It looks like this change did not make it to 10.2R.  Will this change go
 into stable/10?


No, there are no plans to MFC the change.

 Should this info be added to: https://wiki.freebsd.org/bhyve/pci_passthru


Yup, added it just now. Thanks for pointing it out.

best
Neel

 --
 Craig
 ___
 freebsd-virtualization@freebsd.org mailing list
 https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to 
 freebsd-virtualization-unsubscr...@freebsd.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: passthru requires guest memory to be wired

2015-08-25 Thread Craig Rodrigues
On Tue, Aug 25, 2015 at 3:45 PM, Neel Natu neeln...@gmail.com wrote:

 Hi Craig,


 No, there are no plans to MFC the change.

  Should this info be added to:
 https://wiki.freebsd.org/bhyve/pci_passthru
 

 Yup, added it just now. Thanks for pointing it out.


Thanks.  I would recommend that you also make the error message slightly
more bozo-friendly.
Changing:

passthru requires guest memory to be wired

to

passthru requires guest memory to be wired, please use -S

or something similar.  That would eliminate one round-trip of looking up
the man page and docs to figure out
what is wrong.
--
Craig
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org