Skip to content

Commit 9618c5b

Browse files
committed
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 "[email protected]" # gpg: Good signature from "Laurent Vivier <[email protected]>" [full] # gpg: aka "Laurent Vivier <[email protected]>" [full] # gpg: aka "Laurent Vivier (Red Hat) <[email protected]>" [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 <[email protected]>
2 parents e7ab658 + daf0db0 commit 9618c5b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

hw/remote/proxy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ static void probe_pci_info(PCIDevice *dev, Error **errp)
324324
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
325325
break;
326326
case PCI_BASE_CLASS_NETWORK:
327+
case PCI_BASE_CLASS_WIRELESS:
327328
set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
328329
break;
329330
case PCI_BASE_CLASS_INPUT:

qemu-options.hx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ SRST
206206
ERST
207207

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

target/sh4/translate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2344,7 +2344,7 @@ static void sh4_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)
23442344

23452345
static void sh4_tr_disas_log(const DisasContextBase *dcbase, CPUState *cs)
23462346
{
2347-
qemu_log("IN:\n"); /* , lookup_symbol(dcbase->pc_first)); */
2347+
qemu_log("IN: %s\n", lookup_symbol(dcbase->pc_first));
23482348
log_target_disas(cs, dcbase->pc_first, dcbase->tb->size);
23492349
}
23502350

0 commit comments

Comments
 (0)