1. 19 5月, 2012 1 次提交
    • B
      sparc64: fix initrd loading · 5f2bf0fe
      Blue Swirl 提交于
      Initrd load address is too low, it conflicts with kernel load
      address:
      rom: requested regions overlap (rom phdr #0: /tmp/vmlinux-debian-6.0.4-sparc64. free=0x0000000000742519, addr=0x0000000000400000)
      rom loading failed
      
      Fix by making the initrd address variable, load initrd after kernel
      image. Use 64 bit variables instead of longs or 32 bit types.
      Tested-by: NArtyom Tarasenko <atar4qemu@gmail.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      5f2bf0fe
  2. 18 5月, 2012 2 次提交
  3. 15 5月, 2012 4 次提交
  4. 14 5月, 2012 21 次提交
  5. 12 5月, 2012 11 次提交
  6. 11 5月, 2012 1 次提交
    • A
      use inet_listen()/inet_connect() to support ipv6 migration · d5c5dacc
      Amos Kong 提交于
      Use help functions in qemu-socket.c for tcp migration,
      which already support ipv6 addresses.
      
      Currently errp will be set to UNDEFINED_ERROR when migration fails,
      qemu would output "migration failed: ...", and current user can
      see a message("An undefined error has occurred") in monitor.
      
      This patch changed tcp_start_outgoing_migration()/inet_connect()
      /inet_connect_opts(), socket error would be passed back,
      then current user can see a meaningful err message in monitor.
      
      Qemu will exit if listening fails, so output socket error
      to qemu stderr.
      
      For IPv6 brackets must be mandatory if you require a port.
      Referencing to RFC5952, the recommended format is:
        [2312::8274]:5200
      
      test status: Successed
      listen side: qemu-kvm .... -incoming tcp:[2312::8274]:5200
      client side: qemu-kvm ...
                   (qemu) migrate -d tcp:[2312::8274]:5200
      Signed-off-by: NAmos Kong <akong@redhat.com>
      Reviewed-by: NOrit Wasserman <owasserm@redhat.com>
      Reviewed-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d5c5dacc