1. 17 12月, 2014 4 次提交
  2. 16 12月, 2014 1 次提交
  3. 10 12月, 2014 2 次提交
  4. 26 11月, 2014 1 次提交
  5. 21 11月, 2014 2 次提交
  6. 13 11月, 2014 1 次提交
    • A
      QMP/input-send-event: make console parameter optional · 51fc4476
      Amos Kong 提交于
      The 'QemuConsole' is the input source for handler, we share some
      input handlers to process the input events from different QemuConsole.
      
      Normally we only have one set of keyboard, mouse, usbtablet, etc.
      The devices have different mask, it's fine to just checking mask to
      insure that the handler has the ability to process the event.
      
      I saw we try to bind console to handler in usb/dev-hid.c, but display
      always isn't available at that time.
      
      If we have multiseat setup (as Gerd said), we only have 'problem' in
      this case. Actually event from different devices have the same effect
      for system, it's fine to always use the first available handler
      without caring about the console.
      
      For send-key command, we just pass a NULL for console parameter in
      calling qemu_input_event_send_key(NULL, ..), but 'input-send-event'
      needs to care more devices.
      
      Conclusion:
      Generally assigning the special console is meanless, and we can't
      directly remove the QMP parameter for compatibility.
      
      So we can make the parameter optional. The parameter might be useful
      for some special condition: we have multiple devices without binding
      console and they all have the ability(mask) to process events, and
      we don't want to use the first one.
      
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: Markus Armbruster <armbru@redhat.com>
      Cc: Marcelo Tosatti <mtosatti@redhat.com>
      Signed-off-by: NAmos Kong <akong@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      51fc4476
  7. 04 11月, 2014 5 次提交
  8. 31 10月, 2014 1 次提交
  9. 28 10月, 2014 4 次提交
  10. 15 10月, 2014 2 次提交
  11. 02 10月, 2014 2 次提交
  12. 30 9月, 2014 1 次提交
  13. 29 9月, 2014 1 次提交
    • G
      console: add graphic_console_set_hwops · 1c1f9498
      Gerd Hoffmann 提交于
      Add a function to allow display emulations to switch the hwops
      function pointers.  This is useful for devices which have two
      completely different operation modes.  Typical case is the vga
      compatibility mode vs. native mode in qxl and the upcoming
      virtio-vga device.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      1c1f9498
  14. 22 9月, 2014 1 次提交
    • S
      block: delete cow block driver · 550830f9
      Stefan Hajnoczi 提交于
      This patch removes support for the cow file format.
      
      Normally we do not break backwards compatibility but in this case there
      is no impact and it is the most logical option.  Extraordinary claims
      require extraordinary evidence so I will show why removing the cow block
      driver is the right thing to do.
      
      The cow file format is the disk image format for Usermode Linux, a way
      of running a Linux system in userspace.  The performance of UML was
      never great and it was hacky, but it enjoyed some popularity before
      hardware virtualization support became mainstream.
      
      QEMU's block/cow.c is supposed to read this image file format.
      Unfortunately the file format was underspecified:
      
      1. Earlier Linux versions used the MAXPATHLEN constant for the backing
         filename field.  The value of MAXPATHLEN can change, so Linux
         switched to a 4096 literal but QEMU has a 1024 literal.
      
      2. Padding was not used on the header struct (both in the Linux kernel
         and in QEMU) so the struct layout varied across architectures.  In
         particular, i386 and x86_64 were different due to int64_t alignment
         differences.  Linux now uses __attribute__((packed)), QEMU does not.
      
      Therefore:
      
      1. QEMU cow images do not conform to the Linux cow image file format.
      
      2. cow images cannot be shared between different host architectures.
      
      This means QEMU cow images are useless and QEMU has not had bug reports
      from users actually hitting these issues.
      
      Let's get rid of this thing, it serves no purpose and no one will be
      affected.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      Message-id: 1410877464-20481-1-git-send-email-stefanha@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      550830f9
  15. 18 9月, 2014 1 次提交
  16. 17 9月, 2014 2 次提交
    • P
      ui/vnc: set TCP_NODELAY · 86152436
      Peter Lieven 提交于
      we currently have the Nagle algorithm enabled for all outgoing VNC updates.
      This may delay sensitive updates as mouse movements or typing in the console.
      As we currently prepare all data in a buffer and then send as much as we can
      disabling the Nagle algorithm should not cause big trouble. Well established
      VNC servers like TightVNC set TCP_NODELAY as well.
      A regular framebuffer update request generates exactly one framebuffer update
      which should be pushed out as fast as possible.
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      86152436
    • P
      qemu-char: Rename register_char_driver_qapi() to register_char_driver() · e4d50d47
      Peter Maydell 提交于
      Now we have removed the legacy register_char_driver() we can
      rename register_char_driver_qapi() to the more obvious and
      shorter name.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1409653457-27863-6-git-send-email-peter.maydell@linaro.org
      e4d50d47
  17. 16 9月, 2014 3 次提交
  18. 05 9月, 2014 6 次提交