qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] b4e492: hmp: delvm: use hmp_handle_error


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] b4e492: hmp: delvm: use hmp_handle_error
Date: Thu, 02 May 2019 04:04:34 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: b4e492db03a25395087e867f8f944f7b2a2e1cef
      
https://github.com/qemu/qemu/commit/b4e492db03a25395087e867f8f944f7b2a2e1cef
  Author: Cole Robinson <address@hidden>
  Date:   2019-05-01 (Wed, 01 May 2019)

  Changed paths:
    M hmp.c

  Log Message:
  -----------
  hmp: delvm: use hmp_handle_error

This gives us the consistent 'Error:' prefix added in 66363e9a43f,
which helps users like libvirt who still need to scrape hmp error
messages to detect failure.

Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Cole Robinson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>


  Commit: 574d96933ceff60b2d13fe97602572fc7e95f7c6
      
https://github.com/qemu/qemu/commit/574d96933ceff60b2d13fe97602572fc7e95f7c6
  Author: Dr. David Alan Gilbert <address@hidden>
  Date:   2019-05-01 (Wed, 01 May 2019)

  Changed paths:
    M hmp-commands.hx
    M monitor.c
    M tests/test-hmp.c

  Log Message:
  -----------
  hmp: gva2gpa debug command

Add a gva2gpa command purely for debug which performs
address translation on the gva, the existing gpa2hva
command can then also be used to find it in the qemu
userspace; e.g.

(qemu) info registers
.... RSP=ffffffff81c03e98
....
(qemu) gva2gpa 0xffffffff81c03e98
gpa: 0x1c03e98
(qemu) gpa2hva 0x1c03e98
Host virtual address for 0x1c03e98 (pc.ram) is 0x7f0599a03e98
(qemu) x/10x 0xffffffff81c03e98
ffffffff81c03e98: 0x81c03eb8 0xffffffff 0x8101ea3f 0xffffffff
ffffffff81c03ea8: 0x81d27b00 0xffffffff 0x00000000 0x00000000
ffffffff81c03eb8: 0x81c03ec8 0xffffffff

gdb -p ...qemu...
(gdb) x/10x 0x7f0599a03e98
0x7f0599a03e98: 0x81c03eb8      0xffffffff      0x8101ea3f      0xffffffff
0x7f0599a03ea8: 0x81d27b00      0xffffffff      0x00000000      0x00000000
0x7f0599a03eb8: 0x81c03ec8      0xffffffff

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>


  Commit: 37560c259d7a0d6aceb96e9d6903ee002f4e5e0c
      
https://github.com/qemu/qemu/commit/37560c259d7a0d6aceb96e9d6903ee002f4e5e0c
  Author: Peter Maydell <address@hidden>
  Date:   2019-05-02 (Thu, 02 May 2019)

  Changed paths:
    M hmp-commands.hx
    M hmp.c
    M monitor.c
    M tests/test-hmp.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/dgilbert/tags/pull-hmp-20190501' into 
staging

HMP pull

New gva2gpa command
delvm now uses hmp_handle_error so gets Error: prefix in messages

# gpg: Signature made Wed 01 May 2019 11:57:43 BST
# gpg:                using RSA key 45F5C71B4A0CB7FB977A9FA90516331EBC5BFDE7
# gpg: Good signature from "Dr. David Alan Gilbert (RH2) <address@hidden>" 
[full]
# Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A  9FA9 0516 331E BC5B FDE7

* remotes/dgilbert/tags/pull-hmp-20190501:
  hmp: gva2gpa debug command
  hmp: delvm: use hmp_handle_error

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/f75d15231e56...37560c259d7a



reply via email to

[Prev in Thread] Current Thread [Next in Thread]