1. 08 10月, 2012 1 次提交
    • P
      net: consolidate NetClientState header files into one · a245fc18
      Paolo Bonzini 提交于
      This patch doesn't seem much useful alone, I must admit.  However,
      it makes sense as part of the upcoming directory reorganization,
      where I want to have include/net/tap.h as the net<->hw interface
      for tap.  Then having both net/tap.h and include/net/tap.h does
      not work.  "Fixed" by moving all the init functions to a single
      header file net/clients.h.
      
      The patch also adopts a uniform style for including net/*.h files
      from net/*.c, without the net/ path.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@gmail.com>
      a245fc18
  2. 10 8月, 2012 1 次提交
  3. 01 8月, 2012 6 次提交
  4. 23 7月, 2012 4 次提交
  5. 09 7月, 2012 4 次提交
  6. 05 6月, 2012 1 次提交
  7. 02 5月, 2012 2 次提交
    • N
      Declare state directory in smb.conf · 276eda57
      Nikolaus Rath 提交于
      The smb.conf generated by the userspace networking does not include a state directory
      directive. Samba therefore falls back to the default value. Since the user generally
      does not have write access to this path, smbd immediately crashes.
      
      The "state directory" option was added in Samba 3.4.0 (commit
      http://gitweb.samba.org/?p=samba.git;a=commit;h=7b02e05eb64f3ffd7aa1cf027d10a7343c0da757).
      
      This patch adds the missing option.
      Signed-off-by: NNikolaus Rath <Nikolaus@rath.org>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      276eda57
    • N
      slirp: don't use "smb ports = 0" option · de305b13
      Nikolaus Rath 提交于
      The "smb ports = 0" option causes recent samba versions to crash. It was
      introduced in commit 157777ef with log message "Samba 3 support".
      However, a value of 0 has never been officially supported by smb and is
      also not necessary: if stdin is a socket, smb does not try to listen on
      any ports and uses just stdin. This is necessary to support inetd based
      operation (otherwise smbd would always fail when called from inetd,
      because inetd already listens on the SMB port). Since samba has
      supported inetd operation since pre-3.x, it should be safe to rely on
      this feature. I have tested it with Samba 3.6.4 -- communication works
      fine, and smbd is not listening on any ports.
      
      I suspect the "smb ports = 0" hack may have been introduced when someone
      tested the qemu generated samba config from the command line with "smbd
      -i" and found it to fail (because then stdin isn't a socket).
      Signed-off-by: NNikolaus Rath <Nikolaus@rath.org>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      de305b13
  8. 19 12月, 2011 1 次提交
  9. 22 11月, 2011 1 次提交
  10. 04 9月, 2011 1 次提交
  11. 22 8月, 2011 1 次提交
  12. 21 8月, 2011 1 次提交
  13. 23 7月, 2011 2 次提交
  14. 08 6月, 2011 1 次提交
  15. 16 4月, 2011 1 次提交
  16. 16 3月, 2010 1 次提交
    • M
      error: Replace qemu_error() by error_report() · 1ecda02b
      Markus Armbruster 提交于
      error_report() terminates the message with a newline.  Strip it it
      from its arguments.
      
      This fixes a few error messages lacking a newline:
      net_handle_fd_param()'s "No file descriptor named %s found", and
      tap_open()'s "vnet_hdr=1 requested, but no kernel support for
      IFF_VNET_HDR available" (all three versions).
      
      There's one place that passes arguments without newlines
      intentionally: load_vmstate().  Fix it up.
      1ecda02b
  17. 10 3月, 2010 1 次提交
  18. 20 2月, 2010 1 次提交
  19. 28 1月, 2010 1 次提交
  20. 27 1月, 2010 1 次提交
  21. 03 12月, 2009 2 次提交