Skip to content

Comments

fixed an issue with libxl_set_vcpuaffinity() on newer xen versions#17

Open
marc-werner wants to merge 1 commit intocnplab:masterfrom
seemoo-lab:master
Open

fixed an issue with libxl_set_vcpuaffinity() on newer xen versions#17
marc-werner wants to merge 1 commit intocnplab:masterfrom
seemoo-lab:master

Conversation

@marc-werner
Copy link

This patch includes a macro from libvirt to fix issues with libxl_set_vcpuaffinity() that arise with newer xen versions. Beginning with version 4.5 the functions requires an additional parameter for 'VCPU soft affinity' that cosmos does not use anyway.

The macro is taken from linvirt. See https://gitlab.com/libvirt/libvirt/commit/bfc72e99920215c9b004a5380ca61fe6ff81ea6b for more details.

@jpemartins
Copy link
Contributor

Hi,

Thanks a lot for the patch! I tested and it looks good.

I just have two small nits: 1) commit short message is too long and is missing the module it affects (in the case domain/xl). Could be something similar too "domain/xl: import vcpuaffinity macro from libvirt" (as an example). 2) to include the description that you have in this pull request in the commit below the short message.

This patch includes a macro from libvirt to fix issues with libxl_set_vcpuaffinity() that arise with newer xen versions. Beginning with version 4.5 the functions requires an additional parameter for 'VCPU soft affinity' that cosmos does not use anyway.

The macro is taken from linvirt. See https://gitlab.com/libvirt/libvirt/commit/bfc72e99920215c9b004a5380ca61fe6ff81ea6b for more details.
@marc-werner
Copy link
Author

Hi,

I fixed the commit message. Please check if it suits your requirements.

Regards,

Marc

@jpemartins
Copy link
Contributor

Looks good! But I guess the PR wasn't updated correctly.
You just need rebased it and delete the last 4 commits, to just have commit c4bbaaa in your master branch.

@marc-werner marc-werner force-pushed the master branch 2 times, most recently from 0e2e2b4 to c4bbaaa Compare June 12, 2015 09:51
@marc-werner
Copy link
Author

Sorry for the delay. Please check the pull request again.

Regards,

Marc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants