Pull request trivial-patches 2021104

-----BEGIN PGP SIGNATURE-----
 
 iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmFau54SHGxhdXJlbnRA
 dml2aWVyLmV1AAoJEPMMOL0/L748yaUP/3XXg5ayf81uhuIrFktAdIqj0gGk/gq4
 b3WQ2BF/afXqqum1nhJusIsLH0ToLgQnb0L8FwDYgod/aoRQuftvBvONx9Y5+tBS
 atAnHQ3f5FlKt1KwmVB/pa+EQoD3JMvogOma9G5pNZTHT2LOULfPgSBZ2lWUdjPc
 RvifacYnI2MtaP73RH0xIDdQcgOozSMMHjScbP7og6RBLgcxEFOgCvZVyocMRR3K
 2pcSEb1b65IDb9dPqzRd+D/eM73s3skucFUzuLE0IISeBsF6CZWNAUABaalJQIkD
 gXo3jNj89Ey0en+k/RDBdpYEjsL0j4Gh4bJ/uhI1Gw82M4zHYSVnYjTuzK6NUK+F
 0o9Q+Fx4zuazf20xrwLxV2CNrGkU21JGn1PCEvUobidqoasrTzK8PkwipcYINGW+
 ql0brn2xvy87VYb/EGTYse4FsgBpv04/6IKW0qnbDA8kHlg4ZQQ5PWdaOC0KBBQ0
 iwxs6wFFuFC/SJZmu5ki0WBhG35rWiMdjLHBue2DA9m3Z9FV3Ob5DptVW8SYEJ2g
 QiOsQ6XHVeS30ku3gorciAr5uHnFYxMiDRFsFSJ73WRG8wwxGRr6WQqC4kROmgtL
 9Db8bwnbrbWuON/cIHEgJ/eGvlqrG4n2sY/ciDcSOWFmOjEjKR5mc7hPVr3YxyEn
 3RRHd6R2UYdX
 =uAXe
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'remotes/vivier/tags/trivial-branch-for-6.2-pull-request' into staging

Pull request trivial-patches 2021104

# gpg: Signature made Mon 04 Oct 2021 01:30:22 AM PDT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]

* remotes/vivier/tags/trivial-branch-for-6.2-pull-request:
  hw/remote/proxy: Categorize Wireless devices as 'Network' ones
  target/sh4: Use lookup_symbol in sh4_tr_disas_log
  qemu-options: Add missing "sockets=2, maxcpus=2" to CLI "-smp 2"
  qemu-options: Tweak [, maxcpus=cpus] to [, maxcpus=maxcpus]
  qemu-options: -chardev reconnect=seconds duplicated in help, tidy up

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2021-10-04 16:27:35 -07:00
commit 9618c5bada
3 changed files with 5 additions and 4 deletions

View File

@ -324,6 +324,7 @@ static void probe_pci_info(PCIDevice *dev, Error **errp)
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
break; break;
case PCI_BASE_CLASS_NETWORK: case PCI_BASE_CLASS_NETWORK:
case PCI_BASE_CLASS_WIRELESS:
set_bit(DEVICE_CATEGORY_NETWORK, dc->categories); set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
break; break;
case PCI_BASE_CLASS_INPUT: case PCI_BASE_CLASS_INPUT:

View File

@ -206,7 +206,7 @@ SRST
ERST ERST
DEF("smp", HAS_ARG, QEMU_OPTION_smp, DEF("smp", HAS_ARG, QEMU_OPTION_smp,
"-smp [[cpus=]n][,maxcpus=cpus][,sockets=sockets][,dies=dies][,cores=cores][,threads=threads]\n" "-smp [[cpus=]n][,maxcpus=maxcpus][,sockets=sockets][,dies=dies][,cores=cores][,threads=threads]\n"
" set the number of CPUs to 'n' [default=1]\n" " set the number of CPUs to 'n' [default=1]\n"
" maxcpus= maximum number of total CPUs, including\n" " maxcpus= maximum number of total CPUs, including\n"
" offline CPUs for hotplug, etc\n" " offline CPUs for hotplug, etc\n"
@ -401,7 +401,7 @@ SRST
-m 2G \ -m 2G \
-object memory-backend-ram,size=1G,id=m0 \ -object memory-backend-ram,size=1G,id=m0 \
-object memory-backend-ram,size=1G,id=m1 \ -object memory-backend-ram,size=1G,id=m1 \
-smp 2 \ -smp 2,sockets=2,maxcpus=2 \
-numa node,nodeid=0,memdev=m0 \ -numa node,nodeid=0,memdev=m0 \
-numa node,nodeid=1,memdev=m1,initiator=0 \ -numa node,nodeid=1,memdev=m1,initiator=0 \
-numa cpu,node-id=0,socket-id=0 \ -numa cpu,node-id=0,socket-id=0 \
@ -3202,7 +3202,7 @@ DEFHEADING(Character device options:)
DEF("chardev", HAS_ARG, QEMU_OPTION_chardev, DEF("chardev", HAS_ARG, QEMU_OPTION_chardev,
"-chardev help\n" "-chardev help\n"
"-chardev null,id=id[,mux=on|off][,logfile=PATH][,logappend=on|off]\n" "-chardev null,id=id[,mux=on|off][,logfile=PATH][,logappend=on|off]\n"
"-chardev socket,id=id[,host=host],port=port[,to=to][,ipv4=on|off][,ipv6=on|off][,nodelay=on|off][,reconnect=seconds]\n" "-chardev socket,id=id[,host=host],port=port[,to=to][,ipv4=on|off][,ipv6=on|off][,nodelay=on|off]\n"
" [,server=on|off][,wait=on|off][,telnet=on|off][,websocket=on|off][,reconnect=seconds][,mux=on|off]\n" " [,server=on|off][,wait=on|off][,telnet=on|off][,websocket=on|off][,reconnect=seconds][,mux=on|off]\n"
" [,logfile=PATH][,logappend=on|off][,tls-creds=ID][,tls-authz=ID] (tcp)\n" " [,logfile=PATH][,logappend=on|off][,tls-creds=ID][,tls-authz=ID] (tcp)\n"
"-chardev socket,id=id,path=path[,server=on|off][,wait=on|off][,telnet=on|off][,websocket=on|off][,reconnect=seconds]\n" "-chardev socket,id=id,path=path[,server=on|off][,wait=on|off][,telnet=on|off][,websocket=on|off][,reconnect=seconds]\n"

View File

@ -2344,7 +2344,7 @@ static void sh4_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)
static void sh4_tr_disas_log(const DisasContextBase *dcbase, CPUState *cs) static void sh4_tr_disas_log(const DisasContextBase *dcbase, CPUState *cs)
{ {
qemu_log("IN:\n"); /* , lookup_symbol(dcbase->pc_first)); */ qemu_log("IN: %s\n", lookup_symbol(dcbase->pc_first));
log_target_disas(cs, dcbase->pc_first, dcbase->tb->size); log_target_disas(cs, dcbase->pc_first, dcbase->tb->size);
} }