1. 04 9月, 2009 2 次提交
    • L
      monitor: New format for handlers argument types · 4d76d2ba
      Luiz Capitulino 提交于
      Current handlers argument types, as defined in qemu-monitor.hx file,
      are a sequence of chars where each one represents one argument type
      of the command handler. The number of chars is also used to know how
      many arguments a given handler accepts.
      
      This commit defines a new format, which makes mandatory the use of
      a name for each argument.
      
      For example, do_eject() command handler is currently defined as:
      
      { "eject", "-fB", do_eject, ... }
      
      With the new format it becomes:
      
      { "eject", "force:-f,filename:B", do_eject, ... }
      
      This way the Monitor will be capable of setting up a dictionary, using
      each argument's name as the key and the argument itself as the value.
      
      This commit also adds two new functions: key_get_info() and
      next_arg_type(), both are used to parse the new format.
      
      Currently key_get_info() consumes the 'key' part of the new format and
      discards it, this way the current parsing code is not affected by this
      change.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4d76d2ba
    • L
      Add wrappers to functions used by the Monitor · 38183186
      Luiz Capitulino 提交于
      Some functions exported to be used by the Monitor as command
      handlers are also called in other places as regular functions.
      
      When those functions got ported to use the Monitor dictionary
      to pass argments, the callers will have to setup a dictionary
      to be able to call them.
      
      To avoid this problem, this commit add wrappers to those functions,
      so that we change the wrapper to accept the dictionary, letting
      the current functions as is.
      
      The following wrappers are being added:
      
      - do_help_cmd()
      - do_pci_device_hot_remove()
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      38183186
  2. 24 8月, 2009 1 次提交
    • A
      Unbreak large mem support by removing kqemu · 4a1418e0
      Anthony Liguori 提交于
      kqemu introduces a number of restrictions on the i386 target.  The worst is that
      it prevents large memory from working in the default build.
      
      Furthermore, kqemu is fundamentally flawed in a number of ways.  It relies on
      the TSC as a time source which will not be reliable on a multiple processor
      system in userspace.  Since most modern processors are multicore, this severely
      limits the utility of kqemu.
      
      kvm is a viable alternative for people looking to accelerate qemu and has the
      benefit of being supported by the upstream Linux kernel.  If someone can
      implement work arounds to remove the restrictions introduced by kqemu, I'm
      happy to avoid and/or revert this patch.
      
      N.B. kqemu will still function in the 0.11 series but this patch removes it from
      the 0.12 series.
      
      Paul, please Ack or Nack this patch.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4a1418e0
  3. 27 7月, 2009 1 次提交
  4. 17 7月, 2009 1 次提交
  5. 10 7月, 2009 1 次提交
  6. 04 7月, 2009 1 次提交
  7. 30 6月, 2009 3 次提交
  8. 29 6月, 2009 6 次提交
  9. 17 6月, 2009 1 次提交
  10. 06 6月, 2009 1 次提交