mirror of https://github.com/xemu-project/xemu.git
Trivial fixes (20191218)
-----BEGIN PGP SIGNATURE----- iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAl36IvISHGxhdXJlbnRA dml2aWVyLmV1AAoJEPMMOL0/L748EwAP/iSmqBVRFbiXGC5Cjy9h93HyOSbysV1P cTGmQjJJiLaLAjhbc1AmDk1bc9RPdrcwU69jPAYSb7qedIt9sHPoDJ6tvNVwgTbh JRw+Erw4gH10qfGQc/uqG5StgKb5ASrcfBFQwXESBDfkfu1qLbugf6yFOUbYK8Ii 5DR+n0lDflcORHq+FdjtVR+rVrTdvVc7djAY/2zM+PKHHnPpwdElCI6AVtdmo0/J gFMibQ8UrcoV/gkl/H22hbP0mdtM0Sn6uRLlp96Y2DhVqObRLZxDEk+IdOhb64Go HQflV8+QB3MhbGrhAzP2bNBZ90BuBps10oeUbWqMkquA4jZMI5dVokqUb4GH0/NA BmGGxmKeslxao8dfoxC167n9W1ZIc5jTQ+96rOPKPhSabhlKwdb1M0VJnKDA5b6L m6NLgMCkD47SrrrrAyFLFLK6pVhrq7XU5LCnCu4jktXbr4rIfXp+ze7nWy0PPs/5 fw1HaBc2OxiNjdjqlgRbH9xg1cs0V/EMUMK6+uVuqv58Wx5T6npoVv1ii7S++20e 2y0NNvCENtb3T2ArjP9C+h7eWYt4nb9/ScfZZASfKE3nbqSJQ2RoBla4437MvMJN 28oXuNmKPhIDs+MPGjPkcfYRNt7jC0VOyaOIyFBpYEieEoi8AEUjxtCJ/0Q/VjjN z+flAszMLvq+ =RmLy -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-pull-request' into staging Trivial fixes (20191218) # gpg: Signature made Wed 18 Dec 2019 13:00:34 GMT # 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] # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C * remotes/vivier2/tags/trivial-branch-pull-request: qemu-doc: Remove the unused "Guest Agent" node Revert "qemu-options.hx: Update for reboot-timeout parameter" target/sparc: Remove old TODO file test-keyval: Tighten test of trailing crap after size util/cutils: Turn FIXME comment into QEMU_BUILD_BUG_ON() monitor: Remove unused define MAINTAINERS: Add hw/sd/ssi-sd.c in the SD section Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
8e5943260a
|
@ -1483,6 +1483,7 @@ S: Odd Fixes
|
||||||
F: include/hw/sd/sd*
|
F: include/hw/sd/sd*
|
||||||
F: hw/sd/core.c
|
F: hw/sd/core.c
|
||||||
F: hw/sd/sd*
|
F: hw/sd/sd*
|
||||||
|
F: hw/sd/ssi-sd.c
|
||||||
F: tests/sd*
|
F: tests/sd*
|
||||||
|
|
||||||
USB
|
USB
|
||||||
|
|
|
@ -106,9 +106,6 @@ struct MonFdset {
|
||||||
QLIST_ENTRY(MonFdset) next;
|
QLIST_ENTRY(MonFdset) next;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* QMP checker flags */
|
|
||||||
#define QMP_ACCEPT_UNKNOWNS 1
|
|
||||||
|
|
||||||
/* Protects mon_fdsets */
|
/* Protects mon_fdsets */
|
||||||
static QemuMutex mon_fdsets_lock;
|
static QemuMutex mon_fdsets_lock;
|
||||||
static QLIST_HEAD(, MonFdset) mon_fdsets;
|
static QLIST_HEAD(, MonFdset) mon_fdsets;
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
* Introduction::
|
* Introduction::
|
||||||
* QEMU PC System emulator::
|
* QEMU PC System emulator::
|
||||||
* QEMU System emulator for non PC targets::
|
* QEMU System emulator for non PC targets::
|
||||||
* QEMU Guest Agent::
|
|
||||||
* QEMU User space emulator::
|
* QEMU User space emulator::
|
||||||
* System requirements::
|
* System requirements::
|
||||||
* Security::
|
* Security::
|
||||||
|
|
|
@ -334,8 +334,8 @@ format(true color). The resolution should be supported by the SVGA mode, so
|
||||||
the recommended is 320x240, 640x480, 800x640.
|
the recommended is 320x240, 640x480, 800x640.
|
||||||
|
|
||||||
A timeout could be passed to bios, guest will pause for @var{rb_timeout} ms
|
A timeout could be passed to bios, guest will pause for @var{rb_timeout} ms
|
||||||
when boot failed, then reboot. If @option{reboot-timeout} is not set,
|
when boot failed, then reboot. If @var{rb_timeout} is '-1', guest will not
|
||||||
guest will not reboot by default. Currently Seabios for X86
|
reboot, qemu passes '-1' to bios by default. Currently Seabios for X86
|
||||||
system support it.
|
system support it.
|
||||||
|
|
||||||
Do strict boot via @option{strict=on} as far as firmware/BIOS
|
Do strict boot via @option{strict=on} as far as firmware/BIOS
|
||||||
|
|
|
@ -1,88 +0,0 @@
|
||||||
TODO-list:
|
|
||||||
|
|
||||||
CPU common:
|
|
||||||
- Unimplemented features/bugs:
|
|
||||||
- Delay slot handling may fail sometimes (branch end of page, delay
|
|
||||||
slot next page)
|
|
||||||
- Atomical instructions
|
|
||||||
- CPU features should match real CPUs (also ASI selection)
|
|
||||||
- Optimizations/improvements:
|
|
||||||
- Condition code/branch handling like x86, also for FPU?
|
|
||||||
- Remove remaining explicit alignment checks
|
|
||||||
- Global register for regwptr, so that windowed registers can be
|
|
||||||
accessed directly
|
|
||||||
- Improve Sparc32plus addressing
|
|
||||||
- NPC/PC static optimisations (use JUMP_TB when possible)? (Is this
|
|
||||||
obsolete?)
|
|
||||||
- Synthetic instructions
|
|
||||||
- MMU model dependent on CPU model
|
|
||||||
- Select ASI helper at translation time (on V9 only if known)
|
|
||||||
- KQemu/KVM support for VM only
|
|
||||||
- Hardware breakpoint/watchpoint support
|
|
||||||
- Cache emulation mode
|
|
||||||
- Reverse-endian pages
|
|
||||||
- Faster FPU emulation
|
|
||||||
- Busy loop detection
|
|
||||||
|
|
||||||
Sparc32 CPUs:
|
|
||||||
- Unimplemented features/bugs:
|
|
||||||
- Sun4/Sun4c MMUs
|
|
||||||
- Some V8 ASIs
|
|
||||||
|
|
||||||
Sparc64 CPUs:
|
|
||||||
- Unimplemented features/bugs:
|
|
||||||
- Interrupt handling
|
|
||||||
- Secondary address space, other MMU functions
|
|
||||||
- Many V9/UA2005/UA2007 ASIs
|
|
||||||
- Rest of V9 instructions, missing VIS instructions
|
|
||||||
- IG/MG/AG vs. UA2007 globals
|
|
||||||
- Full hypervisor support
|
|
||||||
- SMP/CMT
|
|
||||||
- Sun4v CPUs
|
|
||||||
|
|
||||||
Sun4:
|
|
||||||
- To be added
|
|
||||||
|
|
||||||
Sun4c:
|
|
||||||
- A lot of unimplemented features
|
|
||||||
- Maybe split from Sun4m
|
|
||||||
|
|
||||||
Sun4m:
|
|
||||||
- Unimplemented features/bugs:
|
|
||||||
- Hardware devices do not match real boards
|
|
||||||
- Floppy does not work
|
|
||||||
- CS4231: merge with cs4231a, add DMA
|
|
||||||
- Add cg6, bwtwo
|
|
||||||
- Arbitrary resolution support
|
|
||||||
- PCI for MicroSparc-IIe
|
|
||||||
- JavaStation machines
|
|
||||||
- SBus slot probing, FCode ROM support
|
|
||||||
- SMP probing support
|
|
||||||
- Interrupt routing does not match real HW
|
|
||||||
- SuSE 7.3 keyboard sometimes unresponsive
|
|
||||||
- Gentoo 2004.1 SMP does not work
|
|
||||||
- SS600MP ledma -> lebuffer
|
|
||||||
- Type 5 keyboard
|
|
||||||
- Less fixed hardware choices
|
|
||||||
- DBRI audio (Am7930)
|
|
||||||
- BPP parallel
|
|
||||||
- Diagnostic switch
|
|
||||||
- ESP PIO mode
|
|
||||||
|
|
||||||
Sun4d:
|
|
||||||
- A lot of unimplemented features:
|
|
||||||
- SBI
|
|
||||||
- IO-unit
|
|
||||||
- Maybe split from Sun4m
|
|
||||||
|
|
||||||
Sun4u:
|
|
||||||
- Unimplemented features/bugs:
|
|
||||||
- Interrupt controller
|
|
||||||
- PCI/IOMMU support (Simba, JIO, Tomatillo, Psycho, Schizo, Safari...)
|
|
||||||
- SMP
|
|
||||||
- Happy Meal Ethernet, flash, I2C, GPIO
|
|
||||||
- A lot of real machine types
|
|
||||||
|
|
||||||
Sun4v:
|
|
||||||
- A lot of unimplemented features
|
|
||||||
- A lot of real machine types
|
|
|
@ -478,7 +478,7 @@ static void test_keyval_visit_size(void)
|
||||||
visit_free(v);
|
visit_free(v);
|
||||||
|
|
||||||
/* Trailing crap */
|
/* Trailing crap */
|
||||||
qdict = keyval_parse("sz1=16E,sz2=16Gi", NULL, &error_abort);
|
qdict = keyval_parse("sz1=0Z,sz2=16Gi", NULL, &error_abort);
|
||||||
v = qobject_input_visitor_new_keyval(QOBJECT(qdict));
|
v = qobject_input_visitor_new_keyval(QOBJECT(qdict));
|
||||||
qobject_unref(qdict);
|
qobject_unref(qdict);
|
||||||
visit_start_struct(v, NULL, NULL, 0, &error_abort);
|
visit_start_struct(v, NULL, NULL, 0, &error_abort);
|
||||||
|
|
|
@ -542,7 +542,7 @@ int qemu_strtoul(const char *nptr, const char **endptr, int base,
|
||||||
* Convert string @nptr to an int64_t.
|
* Convert string @nptr to an int64_t.
|
||||||
*
|
*
|
||||||
* Works like qemu_strtol(), except it stores INT64_MAX on overflow,
|
* Works like qemu_strtol(), except it stores INT64_MAX on overflow,
|
||||||
* and INT_MIN on underflow.
|
* and INT64_MIN on underflow.
|
||||||
*/
|
*/
|
||||||
int qemu_strtoi64(const char *nptr, const char **endptr, int base,
|
int qemu_strtoi64(const char *nptr, const char **endptr, int base,
|
||||||
int64_t *result)
|
int64_t *result)
|
||||||
|
@ -557,8 +557,9 @@ int qemu_strtoi64(const char *nptr, const char **endptr, int base,
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* This assumes int64_t is long long TODO relax */
|
||||||
|
QEMU_BUILD_BUG_ON(sizeof(int64_t) != sizeof(long long));
|
||||||
errno = 0;
|
errno = 0;
|
||||||
/* FIXME This assumes int64_t is long long */
|
|
||||||
*result = strtoll(nptr, &ep, base);
|
*result = strtoll(nptr, &ep, base);
|
||||||
return check_strtox_error(nptr, ep, endptr, errno);
|
return check_strtox_error(nptr, ep, endptr, errno);
|
||||||
}
|
}
|
||||||
|
@ -581,8 +582,9 @@ int qemu_strtou64(const char *nptr, const char **endptr, int base,
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* This assumes uint64_t is unsigned long long TODO relax */
|
||||||
|
QEMU_BUILD_BUG_ON(sizeof(uint64_t) != sizeof(unsigned long long));
|
||||||
errno = 0;
|
errno = 0;
|
||||||
/* FIXME This assumes uint64_t is unsigned long long */
|
|
||||||
*result = strtoull(nptr, &ep, base);
|
*result = strtoull(nptr, &ep, base);
|
||||||
/* Windows returns 1 for negative out-of-range values. */
|
/* Windows returns 1 for negative out-of-range values. */
|
||||||
if (errno == ERANGE) {
|
if (errno == ERANGE) {
|
||||||
|
|
Loading…
Reference in New Issue