title: How to replace `qemu-system -redir` command argument?
body: <p>I have a script starting qemu with these options:</p>
  
  <p><code>qemu-system-x86_64 [...]
                      -net nic,model=rtl8139
                      -net user,hostfwd=tcp::5555-:1522
                      -net dump,file=/tmp/vm0.pcap
                      -redir tcp:9999::9
                      -redir tcp:17010::17010
                      -redir tcp:17013::17013
  </code></p>
  
  <p>I want to update the script to work with modern qemu options.</p>
  
  <p>I've tried with the following arguments, as documented in the <a href="https://manpages.debian.org/jessie/qemu-system-x86/qemu-system-x86_64.1.en.html" rel="noreferrer">manual page</a></p>
  
  <p><code>qemu-system-x86_64 [...]
                       -net nic,model=rtl8139
                       -net dump,file=/tmp/vm0.pcap
                       -net user,id=tcp1522,hostfwd=tcp::5555-:1522
                       -netdev user,id=tcp9,hostfwd=tcp::9999-:9
                       -netdev user,id=tcp17010,hostfwd=tcp::17010-:17010
                       -netdev user,id=tcp17013,hostfwd=tcp::17013-:17013
  </code></p>
  
  <p>but the guest cannot reach the network anymore and it cannot be reached by the host on the forwarded ports.</p>
  
  <p>What's the exact equivalent of the deprecated <code>-redir</code> option?</p>