On Mon, Nov 11, 2013 at 01:33:25PM -0800, Julian Elischer wrote:
> On 11/11/13, 7:49 AM, Pavel Timofeev wrote:
> >Great, it helped! Thanks a lot!
> 
> the suggested change suggests fragile code. It should be able to
> handle unexpected input..

Indeed, I already suggested Sergey placing a compile time assertion to
make sure vm_guest range is covered.

> >
> >2013/11/11 Sergey Kandaurov <[email protected]>:
> >>On 11 November 2013 18:13, Pavel Timofeev <[email protected]> wrote:
> >>>[...]
> >>>(kgdb) p vm_guest
> >>>$1 = 3
> >>>Current language:  auto; currently minimal
> >>>(kgdb)
> >>>
> >>What if you try this change?
> >>
> >>Index: sys/kern/subr_param.c
> >>===================================================================
> >>--- sys/kern/subr_param.c    (revision 257695)
> >>+++ sys/kern/subr_param.c    (working copy)
> >>@@ -153,6 +153,7 @@
> >>      "none",
> >>      "generic",
> >>      "xen",
> >>+    "hv",
> >>      NULL
> >>  };
> >_______________________________________________
> >[email protected] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> >To unsubscribe, send any mail to 
> >"[email protected]"
> >
> 
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to 
> "[email protected]"

-- 
Mateusz Guzik <mjguzik gmail.com>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"[email protected]"

Reply via email to