Re: Providing serial consoles to multiple bhyve guests
C. L. Martinez wrote: > >> `pkg install rtty` >> > Thanks Paul. But, do I need to start some daemon? the rtty documentation explains how to start it up. > And what options do > I need in bhyve command line?? Something like: "bhyve -A -H -P -W -c > 1 -u -l com1,/dev/rtty0..."?? you'll connect guest com1 to the host's /dev/nmdm?B ports, and symlink rtty's dev entries to the host's /dev/nmdm?A ports. "?" is the name of the vm. -- P Vixie ___ 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: Providing serial consoles to multiple bhyve guests
Bezüglich C. L. Martinez's Nachricht vom 17.02.2017 15:29 (localtime): > On Fri, Feb 17, 2017 at 01:36:52PM +0100, Harald Schmalzbauer wrote: >> Bezüglich C. L. Martinez's Nachricht vom 17.02.2017 09:50 (localtime): … >>> I have tried to add vnc channel, but it doesn't works ..:( >> I haven't had VNC problems besides keymapping. It's done twice and I >> haven't found a way or a client to disable keymapping locally on a >> session basis. >> Have you used the "wait" option for fbuf? Did the vm start to run after >> VNC connection attempt? >> > Yes, but I don't see anything in vncviewer console. Can be a problem with > graphics controller on my laptop (my laptop is the bhyve host)? Just to be sure: There was a UEFI loader in use? fbuf is only for GOP, so if you boot with CSM, you won't see anything since there's no VGA emulation. Only UEFI-GOP. Best, -harry ___ 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: Providing serial consoles to multiple bhyve guests
On Fri, Feb 17, 2017 at 01:36:52PM +0100, Harald Schmalzbauer wrote: > Bezüglich C. L. Martinez's Nachricht vom 17.02.2017 09:50 (localtime): > > Hi all, > > > > How can I use more than one serial console for several bhyve guests? > > According to nmdm(4) man page only two nullmodem devices can be created: > > nmdm0A and nmdm0B (and only nmdm0A can be assigned to one bhyve guest). > > Then, how can I access to these bhyve guests? > > Am I wrong if I assume you confused the A/B hard-connected limit of two > interfaces with the possibility to create nmdmN[AB] number of nmdm(4) > devices? > Simply use nmdm1A/B, nmdm2A/B etc. > Not sure if I got the question rigth, answers from others don't go into > that direction... > Yes, that was my question. Thanks Harry. I have read too quickly :) > > > I have tried to add vnc channel, but it doesn't works ..:( > > I haven't had VNC problems besides keymapping. It's done twice and I > haven't found a way or a client to disable keymapping locally on a > session basis. > Have you used the "wait" option for fbuf? Did the vm start to run after > VNC connection attempt? > Yes, but I don't see anything in vncviewer console. Can be a problem with graphics controller on my laptop (my laptop is the bhyve host)? -- Greetings, C. L. Martinez ___ 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: Providing serial consoles to multiple bhyve guests
Bezüglich C. L. Martinez's Nachricht vom 17.02.2017 09:50 (localtime): > Hi all, > > How can I use more than one serial console for several bhyve guests? > According to nmdm(4) man page only two nullmodem devices can be created: > nmdm0A and nmdm0B (and only nmdm0A can be assigned to one bhyve guest). Then, > how can I access to these bhyve guests? Am I wrong if I assume you confused the A/B hard-connected limit of two interfaces with the possibility to create nmdmN[AB] number of nmdm(4) devices? Simply use nmdm1A/B, nmdm2A/B etc. Not sure if I got the question rigth, answers from others don't go into that direction... > I have tried to add vnc channel, but it doesn't works ..:( I haven't had VNC problems besides keymapping. It's done twice and I haven't found a way or a client to disable keymapping locally on a session basis. Have you used the "wait" option for fbuf? Did the vm start to run after VNC connection attempt? Best, -harry ___ 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: Providing serial consoles to multiple bhyve guests
Hi! 17.02.2017 11:50, C. L. Martinez пишет: How can I use more than one serial console for several bhyve guests? According to nmdm(4) man page only two nullmodem devices can be created: nmdm0A and nmdm0B (and only nmdm0A can be assigned to one bhyve guest). Then, how can I access to these bhyve guests? I use sysutils/vm-bhyve for bhyve management. Using console is a breeze: --- % sudo vm console --- -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ 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"