panda icon indicating copy to clipboard operation
panda copied to clipboard

target os name not working

Open LauraLMann opened this issue 2 years ago • 1 comments

I have tried a simple test with the new PANDA that uses libosi for the Windows OSI. But PANDA does not recognize my target OS, even though I'm using one named in the osi README.md file. What's up? Following is my command line, and what I get back: /panda-express/home-panda/build-panda/i386-softmmu/panda-system-i386 -m 4G -replay testrecording -panda osi -panda asidstory:width=132 -os windows-32-7 PANDA[asidstory]:adding argument width=132. panda-system-i386: /panda-express/home-panda/panda/panda/src/common.c:198: panda_set_os_name: Assertion `os_supported' failed. Aborted (core dumped)

I could replay this recording with asidstory and OSI before the libosi changes. Did someone remove support for Windows 7 and neglect to update the README???

LauraLMann avatar Jun 13 '22 14:06 LauraLMann

It is now split into windows-32-7sp0 and windows-32-7sp1 (64 bit works too!)

I made the changes, but I did forget the README, apologizes. There are minor changes in the structures between service packs, but sp1 should work for most things!

Ben-Dumas avatar Jun 13 '22 14:06 Ben-Dumas

@Ben-Dumas would you be able to update the readme and then we can close this issue? I'd do it myself but I don't really understand what changed.

AndrewFasano avatar Aug 24 '22 15:08 AndrewFasano

https://github.com/panda-re/panda/pull/1209 is what I think was being referred to. @LauraLMann let me know if there are more confusing places! Happy to change

Ben-Dumas avatar Aug 24 '22 16:08 Ben-Dumas

Yes @Ben-Dumas , the changes made in #1209 include the fixes to the erroneous documentation I was referring to. Thank you for making the documentation match the code!

LauraLMann avatar Aug 24 '22 17:08 LauraLMann