-
Notifications
You must be signed in to change notification settings - Fork 51
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
fix compilation for i386 and ppc64 #709
Conversation
I really hate PRix64 and friends, they make code so unreadable. Can't we just use %llx and cast the arg instead? Also, if we want to support these (I'm surprised i686 is still relevant), we need some CI to at least build + test them. |
Sure.
Indeed. |
BTW, someone pointed me to: Looking forward to that!! |
3c990b3
to
9549fb3
Compare
why do we need our own vfio_user_region_info? |
We don't, that was from the first version where I was working around the different typedef for |
025ddb5
to
e579109
Compare
From a quick look I had at https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners, it doesn't look like GitHub provides a 32-bit VM. Not sure we can/want to provide our own-hosted 32-bit runner. Alternatively we'd have to enable cross-compilation somehow. |
Next, I'll test on PPC and then will mark PR ready for review. |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> Reported-by: Eduardo Lima <eblima@gmail.com>
1c4457b
to
2fd80c6
Compare
Cross-compilation doesn't help too much, since we couldn't run tests. |
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com> Reported-by: Eduardo Lima <eblima@gmail.com>
Some unit tests don't work, looks like a ctypes bug, I've disabled them for now on i386. Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Some unit tests don't work, looks like a ctypes bug, I've disabled them for now on i386. Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
I've added a few more fixes
|
This also fixes tests on PPC64. Signed-off-by: nutanix <thanos.makatos@ntuanix.com>
Signed-off-by: Thanos Makatos <thanos.makatos@ntuanix.com>
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
Signed-off-by: Thanos Makatos thanos.makatos@nutanix.com