mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 08:17:53 -06:00
Merge remote branch 'mst/for_anthony' into staging
This commit is contained in:
commit
4f25ac5f42
30 changed files with 2636 additions and 290 deletions
|
@ -390,6 +390,9 @@ int ram_load(QEMUFile *f, void *opaque, int version_id)
|
|||
host = qemu_get_ram_ptr(addr);
|
||||
else
|
||||
host = host_from_stream_offset(f, addr, flags);
|
||||
if (!host) {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
ch = qemu_get_byte(f);
|
||||
memset(host, ch, TARGET_PAGE_SIZE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue