1. 30 6月, 2009 1 次提交
  2. 29 6月, 2009 3 次提交
  3. 24 6月, 2009 1 次提交
  4. 22 6月, 2009 3 次提交
    • M
      net: add '-net tap,sndbuf=nbytes' · 0df0ff6d
      Mark McLoughlin 提交于
      2.6.30 adds a new TUNSETSNDBUF ioctl() which allows a send buffer limit
      for the tap device to be specified. When this limit is reached, a tap
      write() will return EAGAIN and poll() will indicate the fd isn't
      writable.
      
      This allows people to tune their setups so as to avoid e.g. UDP packet
      loss when the sending application in the guest out-runs the NIC in the
      host.
      
      There is no obviously sensible default setting - a suitable value
      depends mostly on the capabilities of the physical NIC through which the
      packets are being sent.
      
      Also, note that when using a bridge with netfilter enabled, we currently
      never get EAGAIN because netfilter causes the packet to be immediately
      orphaned. Set /proc/sys/net/bridge/bridge nf-call-iptables to zero to
      disable this behaviour.
      Signed-off-by: NMark McLoughlin <markmc@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      0df0ff6d
    • M
      Support addr=... in option argument of -drive if=virtio · c2cc47a4
      Markus Armbruster 提交于
      Make drive_init() accept addr=, put the value into struct DriveInfo.
      Use it in all the places that create virtio-blk-pci devices:
      pc_init1(), bamboo_init(), mpc8544ds_init().
      
      Don't support addr= in third argument of monitor command pci_add and
      second argument of drive_add, because that clashes with their first
      arguments.  Admittedly unelegant.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c2cc47a4
    • M
      Support addr=... in option argument of -net nic · 5607c388
      Markus Armbruster 提交于
      Make net_client_init() accept addr=, put the value into struct
      NICinfo.  Use it in pci_nic_init(), and remove arguments bus and
      devfn.
      
      Don't support addr= in third argument of monitor command pci_add,
      because that clashes with its first argument.  Admittedly unelegant.
      
      Machines "malta" and "r2d" have a default NIC with a well-known PCI
      address.  Deal with that the same way as the NIC model: make
      pci_nic_init() take an optional default to be used when the user
      doesn't specify one.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      5607c388
  5. 14 6月, 2009 1 次提交
  6. 10 6月, 2009 1 次提交
  7. 04 5月, 2009 1 次提交
  8. 01 5月, 2009 1 次提交
  9. 22 4月, 2009 5 次提交
  10. 19 4月, 2009 1 次提交
  11. 18 4月, 2009 1 次提交
    • A
      qemu: Add support for SMBIOS command line otions (Alex Williamson) · b6f6e3d3
      aliguori 提交于
      Create a new -smbios option (x86-only) to allow binary SMBIOS entries
      to be passed through to the BIOS or modify the default values of
      individual fields of type 0 and 1 entries on the command line.
      
      Binary SMBIOS entries can be generated as follows:
      
      dmidecode -t 1 -u | grep $'^\t\t[^"]' | xargs -n1 | \
              perl -lne 'printf "%c", hex($_)' > smbios_type_1.bin
      
      These can then be passed to the BIOS using this switch:
      
       -smbios file=smbios_type_1.bin
      
      Command line generation supports the following syntax:
      
       -smbios type=0[,vendor=str][,version=str][,date=str][,release=%d.%d]
       -smbios type=1[,manufacturer=str][,product=str][,version=str][,serial=str]
                    [,uuid=$(uuidgen)][,sku=str][,family=str]
      
      For instance, to add a serial number to the type 1 table:
      
       -smbios type=1,serial=0123456789
      
      Interface is extensible to support more fields/tables as needed.
      
      aliguori: remove texi formatting from help output
      Signed-off-by: NAlex Williamson <alex.williamson@hp.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7163 c046a42c-6fe2-441c-8c8c-71466251a162
      b6f6e3d3
  12. 08 4月, 2009 1 次提交
  13. 06 4月, 2009 4 次提交
  14. 28 3月, 2009 2 次提交