1. 30 6月, 2009 1 次提交
    • A
      Multiboot build system v4 · 253d0942
      Alexander Graf 提交于
      In order to build the multiboot option rom, we need a Makefile and a tool
      to sign the rom with.
      
      Both are provided by this patch and mostly taken from the extboot source,
      written by Anthony Liguori.
      
      Once built, the resulting binary gets copied to pc-bios automatically.
      
      Building also occurs automatically when on an x86 host.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      253d0942
  2. 29 6月, 2009 2 次提交
  3. 22 6月, 2009 2 次提交
  4. 17 6月, 2009 4 次提交
  5. 10 6月, 2009 1 次提交
  6. 07 6月, 2009 1 次提交
  7. 06 6月, 2009 1 次提交
  8. 04 6月, 2009 1 次提交
  9. 28 5月, 2009 1 次提交
  10. 22 5月, 2009 2 次提交
    • A
      Add HTTP protocol using curl v6 · 769ce76d
      Alexander Graf 提交于
      Currently Qemu can read from posix I/O and NBD. This patch adds a
      third protocol to the game: HTTP.
      
      In certain situations it can be useful to access HTTP data directly,
      for example if you want to try out an http provided OS image, but
      don't know if you want to download it yet.
      
      Using this patch you can now try it on on the fly. Just use it like:
      
      qemu -cdrom http://host/path/my.isoSigned-off-by: NAlexander Graf <agraf@suse.de>
      769ce76d
    • K
      Create qemu-option.h · d3f24367
      Kevin Wolf 提交于
      This patch creates a new header file and the corresponding implementation file
      for parsing of parameter strings for options (like used in -drive). Part of
      this is code moved from vl.c (so qemu-img can use it later).
      
      The idea is to have a data structure describing all accepted parameters. When
      parsing a parameter string, the structure is copied and filled with the
      parameter values.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d3f24367
  11. 21 5月, 2009 1 次提交
  12. 19 5月, 2009 1 次提交
    • P
      Hardware convenience library · 1ad2134f
      Paul Brook 提交于
      The only target dependency for most hardware is sizeof(target_phys_addr_t).
      Build these files into a convenience library, and use that instead of
      building for every target.
      
      Remove and poison various target specific macros to avoid bogus target
      dependencies creeping back in.
      
      Big/Little endian is not handled because devices should not know or care
      about this to start with.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      1ad2134f
  13. 15 5月, 2009 4 次提交
  14. 14 5月, 2009 1 次提交
    • P
      Add tool_osdep.c · 88ca2a59
      Paul Brook 提交于
      osdep.c is built in both as a toplevel target independant object, and
      as a per-target object because of kqemu dependencies.  Under some
      circumstances make picks up the wrong one.
      
      Build the former as tool-osdep to avoid this conflict.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      88ca2a59
  15. 07 5月, 2009 1 次提交
  16. 01 5月, 2009 1 次提交
  17. 25 4月, 2009 1 次提交
  18. 19 4月, 2009 1 次提交
  19. 18 4月, 2009 2 次提交
  20. 16 4月, 2009 1 次提交
  21. 15 4月, 2009 1 次提交
  22. 11 4月, 2009 1 次提交
  23. 06 4月, 2009 4 次提交
  24. 28 3月, 2009 2 次提交
  25. 09 3月, 2009 1 次提交
  26. 07 3月, 2009 1 次提交
    • A
      Support ACLs for controlling VNC access ("Daniel P. Berrange") · 76655d6d
      aliguori 提交于
      This patch introduces a generic internal API for access control lists
      to be used by network servers in QEMU. It adds support for checking
      these ACL in the VNC server, in two places. The first ACL is for the
      SASL authentication mechanism, checking the SASL username. This ACL
      is called 'vnc.username'. The second is for the TLS authentication
      mechanism, when x509 client certificates are turned on, checking against
      the Distinguished Name of the client. This ACL is called 'vnc.x509dname'
      
      The internal API provides for an ACL with the following characteristics
      
       - A unique name, eg  vnc.username, and vnc.x509dname.
       - A default policy, allow or deny
       - An ordered series of match rules, with allow or deny policy
      
      If none of the match rules apply, then the default policy is
      used.
      
      There is a monitor API to manipulate the ACLs, which I'll describe via
      examples
      
        (qemu) acl show vnc.username
        policy: allow
        (qemu) acl policy vnc.username denya
        acl: policy set to 'deny'
        (qemu) acl allow vnc.username fred
        acl: added rule at position 1
        (qemu) acl allow vnc.username bob
        acl: added rule at position 2
        (qemu) acl allow vnc.username joe 1
        acl: added rule at position 1
        (qemu) acl show vnc.username
        policy: deny
        0: allow fred
        1: allow joe
        2: allow bob
      
      
        (qemu) acl show vnc.x509dname
        policy: allow
        (qemu) acl policy vnc.x509dname deny
        acl: policy set to 'deny'
        (qemu) acl allow vnc.x509dname C=GB,O=ACME,L=London,CN=*
        acl: added rule at position 1
        (qemu) acl allow vnc.x509dname C=GB,O=ACME,L=Boston,CN=bob
        acl: added rule at position 2
        (qemu) acl show vnc.x509dname
        policy: deny
        0: allow C=GB,O=ACME,L=London,CN=*
        1: allow C=GB,O=ACME,L=Boston,CN=bob
      
      By default the VNC server will not use any ACLs, allowing access to
      the server if the user successfully authenticates. To enable use of
      ACLs to restrict user access, the ',acl' flag should be given when
      starting QEMU. The initial ACL activated will be a 'deny all' policy
      and should be customized using monitor commands.
      
      eg enable SASL auth and ACLs
      
          qemu ....  -vnc localhost:1,sasl,acl
      
      The next patch will provide a way to load a pre-defined ACL when
      starting up
      
      
       Makefile        |    6 +
       b/acl.c         |  185 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
       b/acl.h         |   74 ++++++++++++++++++++++
       configure       |   18 +++++
       monitor.c       |   95 ++++++++++++++++++++++++++++
       qemu-doc.texi   |   49 ++++++++++++++
       vnc-auth-sasl.c |   16 +++-
       vnc-auth-sasl.h |    7 ++
       vnc-tls.c       |   19 +++++
       vnc-tls.h       |    3 
       vnc.c           |   21 ++++++
       vnc.h           |    3 
       12 files changed, 491 insertions(+), 5 deletions(-)
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6726 c046a42c-6fe2-441c-8c8c-71466251a162
      76655d6d