@ -1102,7 +1102,7 @@ SRST
external entity that provides the IPMI services .
A connection is made to an external BMC simulator . If you do this ,
it is strongly recommended that you use the " r e c o n n e c t = " chardev
it is strongly recommended that you use the " r e c o n n e c t - m s =" chardev
option to reconnect to the simulator if t h e c o n n e c t i o n i s l o s t . N o t e
that if t h i s i s n o t u s e d c a r e f u l l y , i t c a n b e a s e c u r i t y i s s u e , a s
the interface h a s t h e a b i l i t y t o s e n d r e s e t s , NMIs , a n d p o w e r o f f
@ -3318,8 +3318,8 @@ SRST
` ` ipv6 = on | off ` `
whether to accept IPv6 addresses , d efault to try both IPv4 and IPv6
` ` reconnect = seconds ` `
for a c l i e n t s o c k e t , i f a s o c k e t i s d i s c o n n e c t e d , t h e n a t t e m p t a r e c o n n e c t a f t e r t h e g i v e n n u m b e r o f s e c o n d s .
` ` reconnect - ms = milli seconds` `
for a c l i e n t s o c k e t , i f a s o c k e t i s d i s c o n n e c t e d , t h e n a t t e m p t a r e c o n n e c t a f t e r t h e g i v e n n u m b e r o f m i l l i s e c o n d s .
Setting this to zero disables this function . ( d efault : 0 )
Example ( two g u e s t s c o n n e c t e d u s i n g a T C P / I P s o c k e t ) :
@ -3388,8 +3388,8 @@ SRST
` ` addr . str = file - descriptor ` `
file descriptor number to use as a socket
` ` reconnect = seconds ` `
for a c l i e n t s o c k e t , i f a s o c k e t i s d i s c o n n e c t e d , t h e n a t t e m p t a r e c o n n e c t a f t e r t h e g i v e n n u m b e r o f s e c o n d s .
` ` reconnect - ms = milli seconds` `
for a c l i e n t s o c k e t , i f a s o c k e t i s d i s c o n n e c t e d , t h e n a t t e m p t a r e c o n n e c t a f t e r t h e g i v e n n u m b e r o f m i l l i s e c o n d s .
Setting this to zero disables this function . ( d efault : 0 )
` ` - netdev dgram , id = str , remote . type = inet , remote . host = maddr , remote . port = port [ , local . type = inet , l o c a l . h o s t = a d d r ] ` `
@ -3679,9 +3679,9 @@ DEF("chardev", HAS_ARG, QEMU_OPTION_chardev,
" - c h a r d e v h e l p \n "
" - c h a r d e v n u l l , i d = i d [ , m u x = o n | o f f ] [ , l o g f i l e = P A T H ] [ , l o g a p p e n d = o n | o f f ] \n "
" - c h a r d e v s o c k e t , i d = i d [ , h o s t = h o s t ] , p o r t = p o r t [ , t o = t o ] [ , i p v 4 = o n | o f f ] [ , i p v 6 = o n | o f f ] [ , n o d e l a y = o n | o f f ] \n "
" [ , s e r v e r = o n | o f f ] [ , w a i t = o n | o f f ] [ , t e l n e t = o n | o f f ] [ , w e b s o c k e t = o n | o f f ] [ , r e c o n n e c t = s e c o n d s ] [ , m u x = o n | o f f ] \n "
" [ , s e r v e r = o n | o f f ] [ , w a i t = o n | o f f ] [ , t e l n e t = o n | o f f ] [ , w e b s o c k e t = o n | o f f ] [ , r e c o n n e c t - m s = m i l l i s e c o n d s ] [ , m u x = o n | o f f ] \n "
" [ , l o g f i l e = P A T H ] [ , l o g a p p e n d = o n | o f f ] [ , t l s - c r e d s = I D ] [ , t l s - a u t h z = I D ] ( t c p ) \n "
" - c h a r d e v s o c k e t , i d = i d , p a t h = p a t h [ , s e r v e r = o n | o f f ] [ , w a i t = o n | o f f ] [ , t e l n e t = o n | o f f ] [ , w e b s o c k e t = o n | o f f ] [ , r e c o n n e c t = s e c o n d s ] \n "
" - c h a r d e v s o c k e t , i d = i d , p a t h = p a t h [ , s e r v e r = o n | o f f ] [ , w a i t = o n | o f f ] [ , t e l n e t = o n | o f f ] [ , w e b s o c k e t = o n | o f f ] [ , r e c o n n e c t - m s = m i l l i s e c o n d s ] \n "
" [ , m u x = o n | o f f ] [ , l o g f i l e = P A T H ] [ , l o g a p p e n d = o n | o f f ] [ , a b s t r a c t = o n | o f f ] [ , t i g h t = o n | o f f ] ( u n i x ) \n "
" - c h a r d e v u d p , i d = i d [ , h o s t = h o s t ] , p o r t = p o r t [ , l o c a l a d d r = l o c a l a d d r ] \n "
" [ , l o c a l p o r t = l o c a l p o r t ] [ , i p v 4 = o n | o f f ] [ , i p v 6 = o n | o f f ] [ , m u x = o n | o f f ] \n "
@ -3792,7 +3792,7 @@ The available backends are:
A void device . This device will not emit any data , and will drop any
data it receives . The null backend does not take any options .
` ` - chardev socket , id = id [ , TCP o p t i o n s o r u n i x o p t i o n s ] [ , server = on | off ] [ , wait = on | off ] [ , telnet = on | off ] [ , websocket = on | off ] [ , reconnect = seconds ] [ , tls - creds = id ] [ , tls - authz = id ] ` `
` ` - chardev socket , id = id [ , TCP o p t i o n s o r u n i x o p t i o n s ] [ , server = on | off ] [ , wait = on | off ] [ , telnet = on | off ] [ , websocket = on | off ] [ , reconnect - ms = milli seconds] [ , tls - creds = id ] [ , tls - authz = id ] ` `
Create a two - way stream socket , which can be either a TCP or a unix
socket . A unix socket will be created if ` ` p a t h ` ` i s s p e c i f i e d .
Behaviour is undefined if T C P o p t i o n s a r e s p e c i f i e d f o r a u n i x
@ -3809,9 +3809,9 @@ The available backends are:
` ` websocket = on | off ` ` specifies that the socket uses WebSocket protocol for
communication .
` ` reconnect ` ` sets the timeout for r e c o n n e c t i n g o n n o n - s e r v e r
` ` reconnect - ms ` ` sets the timeout for r e c o n n e c t i n g o n n o n - s e r v e r
sockets when the remote end goes away . qemu will delay this many
seconds and then attempt to reconnect . Zero disables reconnecting ,
milli seconds and then attempt to reconnect . Zero disables reconnecting ,
and is the d efault .
` ` tls - creds ` ` requests enablement of the TLS protocol for
@ -4427,7 +4427,7 @@ SRST
The WebSocket protocol is used instead of raw tcp socket . The
port acts as a WebSocket server . Client mode is not supported .
` ` unix : path [ , server = on | off ] [ , wait = on | off ] [ , reconnect = seconds ] ` `
` ` unix : path [ , server = on | off ] [ , wait = on | off ] [ , reconnect - ms = milli seconds] ` `
A unix domain socket is used instead of a tcp socket . The option
works the same as if y o u h a d s p e c i f i e d ` ` - s e r i a l t c p ` ` e x c e p t
the unix domain socket path is used for c o n n e c t i o n s .