-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qmp_command: qmp_memsave test uses invalid virtual address #1506
Comments
Just in case it's not clear, the command should be run in guest. |
@jingzhao84 @huangyum Would you help check this? Thanks. |
x86_64 didn't execute this command now, since https://bugzilla.redhat.com/show_bug.cgi?id=1116315 |
@jingzhao84 The bug in bugzilla is the same issue. But I don't think it's a QEMU issue, it's a test issue instead. Test should pass a valid virtual address in the guest. Otherwise QEMU can't translate it to a physical address (it does so by checking page tables in guest) and hence the error. |
@rayx developer think no high level tool used it, so they will not fix it. |
qmp_memsave failed on aarch64 with this error:
Does this test works on x86_64? I doubt it because from my understanding 0x0 address is usually not mapped.
I think the test should be modified to use a valid virtual address. Below is the approach I use in my manual experiment (I choose _text symbol because I suppose it's available on all archs):
The text was updated successfully, but these errors were encountered: