1. 12 12月, 2009 8 次提交
  2. 06 12月, 2009 1 次提交
    • A
      Set default console to virtio on S390x · 93d434b4
      Alexander Graf 提交于
      All "normal" system emulation targets in qemu I'm aware of display output
      on either VGA or serial output.
      
      Our S390x virtio machine doesn't have such kind of legacy hardware. So
      instead we need to default to a virtio console.
      
      I'm not particularly proud of this patch. It would be a lot better to
      have something in the machine description that tells us about the default
      terminal.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      93d434b4
  3. 05 12月, 2009 1 次提交
  4. 04 12月, 2009 10 次提交
  5. 03 12月, 2009 3 次提交
  6. 30 11月, 2009 2 次提交
  7. 22 11月, 2009 1 次提交
  8. 17 11月, 2009 2 次提交
    • L
      Block live migration · c163b5ca
      lirans@il.ibm.com 提交于
      This patch introduces block migration called during live migration. Block
      are being copied to the destination in an async way. First the code will
      transfer the whole disk and then transfer all dirty blocks accumulted during
      the migration.
      Still need to improve transition from the iterative phase of migration to the
      end phase. For now transition will take place when all blocks transfered once,
      all the dirty blocks will be transfered during the end phase (guest is
      suspended).
      
      Changes from v4:
      - Global variabels moved to a global state structure allocated dynamically.
      - Minor coding style issues.
      - Poll block.c for tracking of dirty blocks instead of manage it here.
      Signed-off-by: NLiran Schour <lirans@il.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c163b5ca
    • A
      char: Remove special init_reset handling · 57e073a3
      Amit Shah 提交于
      The initial_reset sent to chardevs doesn't do much other than setting
      a bool to true. Char devices are interested in the open event and
      that gets sent whenever the device is opened.
      
      Moreover, the reset logic breaks as and when qemu's bh scheduling
      changes.
      Signed-off-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      57e073a3
  9. 13 11月, 2009 1 次提交
  10. 09 11月, 2009 3 次提交
    • G
      QemuOpts: command line switches for the config file. · 715a664a
      Gerd Hoffmann 提交于
      Adds -readconfig and -writeconfig command line switches to read/write
      QemuOpts from config file.
      
      In theory you should be able to do:
      
        qemu < machine config cmd line switches here > -writeconfig vm.cfg
        qemu -readconfig vm.cfg
      
      In practice it will not work.  Not all command line switches are
      converted to QemuOpts, so you'll have to keep the not-yet converted ones
      on the second line.  Also there might be bugs lurking which prevent even
      the converted ones from working correctly.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      715a664a
    • M
      Configurable block format whitelist · eb852011
      Markus Armbruster 提交于
      We have code for a quite a few block formats.  While I trust that all
      of these formats are useful at least for some people in some
      circumstances, some of them are of a kind that friends don't let
      friends use in production.
      
      This patch provides an optional block format whitelist, default off.
      If a whitelist is configured with --block-drv-whitelist, QEMU proper
      can use only whitelisted formats.  Other programs, like qemu-img, are
      not affected.
      
      Drivers for formats off the whitelist still participate in format
      probing, to ensure all programs probe exactly the same.  Without that,
      QEMU proper would be prone to treat images with a format off the
      whitelist as raw when the image's format is probed.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      eb852011
    • N
      Added readonly flag to -drive command · 59f2689d
      Naphtali Sprei 提交于
      This is a slightly revised patch for adding readonly flag to the -drive command.
      Even though this patch is "stand-alone", it assumes a previous related patch (in Anthony staging tree), that passes
      the readonly attribute of the drive to the guest OS, applied first.
      
      This enables sharing same image between guests, with readonly access.
      Implementaion mark the drive as read_only and changes the flags when actually opening the file.
      The readonly attribute of a qcow also passed to it's base file.
      For ide that cannot pass the readonly attribute to the guest OS, disallow the readonly flag.
      
      Also, return error code from bdrv_truncate for readonly drive.
      Signed-off-by: NNaphtali Sprei <nsprei@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      59f2689d
  11. 07 11月, 2009 1 次提交
    • G
      v3: don't call reset functions on cpu initialization · c1699988
      Glauber Costa 提交于
      There is absolutely no need to call reset functions when initializing
      devices. Since we are already registering them, calling qemu_system_reset()
      should suffice. Actually, it is what happens when we reboot the machine,
      and using the same process instead of a special case semantics will even
      allow us to find bugs easier.
      
      Furthermore, the fact that we initialize things like the cpu quite early,
      leads to the need to introduce synchronization stuff like qemu_system_cond.
      This patch removes it entirely. All we need to do is call qemu_system_reset()
      only when we're already sure the system is up and running
      
      I tested it with qemu (with and without io-thread) and qemu-kvm, and it
      seems to be doing okay - although qemu-kvm uses a slightly different patch.
      
      [ v2: user mode still needs cpu_reset, so put it in ifdef. ]
      [ v3: leave qemu_system_cond for now. ]
      Signed-off-by: NGlauber Costa <glommer@redhat.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      c1699988
  12. 31 10月, 2009 1 次提交
  13. 30 10月, 2009 5 次提交
  14. 28 10月, 2009 1 次提交