@ -3353,7 +3353,7 @@ SRST
- device e1000 , netdev = n1 , mac = 52 : 54 : 00 : 12 : 34 : 56 \ \
- netdev socket , id = n1 , mcast = 239.192 .168 .1 : 1102 , localaddr = 1.2 .3 .4
` ` - netdev stream , id = str [ , server = on | off ] , addr . type = inet , addr . host = host , addr . port = port [ , to = maxport ] [ , numeric = on | off ] [ , keep - alive = on | off ] [ , mptcp = on | off ] [ , addr . ipv4 = on | off ] [ , addr . ipv6 = on | off ] ` `
` ` - netdev stream , id = str [ , server = on | off ] , addr . type = inet , addr . host = host , addr . port = port [ , to = maxport ] [ , numeric = on | off ] [ , keep - alive = on | off ] [ , mptcp = on | off ] [ , addr . ipv4 = on | off ] [ , addr . ipv6 = on | off ] [ , reconnect = seconds ] ` `
Configure a network backend to connect to another QEMU virtual machine or a proxy using a TCP / I P s o c k e t .
` ` server = on | off ` `
@ -3380,6 +3380,10 @@ 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 .
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 ) :
. . parsed - literal : :
@ -3391,9 +3395,9 @@ SRST
# second VM
| qemu_system | linux . img \ \
- device virtio - net , netdev = net0 , mac = 52 : 54 : 00 : 12 : 34 : 57 \ \
- netdev stream , id = net0 , server = off , addr . type = inet , addr . host = localhost , addr . port = 1234
- netdev stream , id = net0 , server = off , addr . type = inet , addr . host = localhost , addr . port = 1234 , reconnect = 5
` ` - netdev stream , id = str [ , server = on | off ] , addr . type = unix , addr . path = path [ , a bstract = on | off ] [ , tight = on | off ] ` `
` ` - netdev stream , id = str [ , server = on | off ] , addr . type = unix , addr . path = path [ , a bstract = on | off ] [ , tight = on | off ] [ , reconnect = seconds ] ` `
Configure a network backend to connect to another QEMU virtual machine or a proxy using a stream oriented unix domain socket .
` ` server = on | off ` `
@ -3408,6 +3412,10 @@ SRST
` ` tight = on | off ` `
if f a l s e , p a d a n a b s t r a c t s o c k e t a d d r e s s w i t h e n o u g h n u l l b y t e s t o m a k e i t f i l l s t r u c t s o c k a d d r _ u n m e m b e r s u n _ p a t h .
` ` 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 .
Setting this to zero disables this function . ( d efault : 0 )
Example ( u sing p a s s t a s a r e p l a c e m e n t o f - n e t d e v u s e r ) :
. . parsed - literal : :
@ -3431,9 +3439,9 @@ SRST
# second VM
| qemu_system | linux . img \ \
- device virtio - net , netdev = net0 , mac = 52 : 54 : 00 : 12 : 34 : 57 \ \
- netdev stream , id = net0 , server = off , addr . type = unix , addr . path = / tmp / qemu0
- netdev stream , id = net0 , server = off , addr . type = unix , addr . path = / tmp / qemu0 , reconnect = 5
` ` - netdev stream , id = str [ , server = on | off ] , addr . type = fd , addr . str = file - descriptor ` `
` ` - netdev stream , id = str [ , server = on | off ] , addr . type = fd , addr . str = file - descriptor [ , reconnect = seconds ] ` `
Configure a network backend to connect to another QEMU virtual machine or a proxy using a stream oriented socket file descriptor .
` ` server = on | off ` `
@ -3442,6 +3450,10 @@ 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 .
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 ] ` `
Configure a network backend to connect to a multicast address .