diff mbox

hmp: Restore "info pci"

Message ID 1442589509-10806-1-git-send-email-pbonzini@redhat.com
State New
Headers show

Commit Message

Paolo Bonzini Sept. 18, 2015, 3:18 p.m. UTC
Dropped by commit da76ee76f78b9705e2a91e3c964aef28fecededb's
transition to hmp-commands-info.hx.

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 hmp-commands-info.hx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Eric Blake Sept. 18, 2015, 5:02 p.m. UTC | #1
On 09/18/2015 09:18 AM, Paolo Bonzini wrote:
> Dropped by commit da76ee76f78b9705e2a91e3c964aef28fecededb's
> transition to hmp-commands-info.hx.
> 
> Reported-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  hmp-commands-info.hx | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)

Reviewed-by: Eric Blake <eblake@redhat.com>
Markus Armbruster Sept. 22, 2015, 8:29 a.m. UTC | #2
Paolo Bonzini <pbonzini@redhat.com> writes:

> Dropped by commit da76ee76f78b9705e2a91e3c964aef28fecededb's
> transition to hmp-commands-info.hx.
>
> Reported-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

I'll take this through my tree.  Thanks!
diff mbox

Patch

diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index 9f5a158..94a2afe 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -183,6 +183,20 @@  STEXI
 Show i8259 (PIC) state.
 ETEXI
 
+    {
+        .name       = "pci",
+        .args_type  = "",
+        .params     = "",
+        .help       = "show PCI info",
+        .mhandler.cmd = hmp_info_pci,
+    },
+
+STEXI
+@item info pci
+@findex pci
+Show PCI information.
+ETEXI
+
 #if defined(TARGET_I386) || defined(TARGET_SH4) || defined(TARGET_SPARC) || \
     defined(TARGET_PPC) || defined(TARGET_XTENSA)
     {