-
Notifications
You must be signed in to change notification settings - Fork 374
Conversation
/test |
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.
lgtm
virtcontainers/qemu.go
Outdated
@@ -1090,6 +1095,13 @@ func (q *qemu) hotplugAddCPUs(amount uint32) (uint32, error) { | |||
socketID := fmt.Sprintf("%d", hc.Properties.Socket) | |||
coreID := fmt.Sprintf("%d", hc.Properties.Core) | |||
threadID := fmt.Sprintf("%d", hc.Properties.Thread) | |||
|
|||
// If CPU type pseries, we do not set socketID and threadID |
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.
Nit: I'd say "IBM pSeries" as wikipedia tells me there are atleast two other hardware platforms with this name so it doesn't hurt to be specific ;)
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.
@jodh-intel : Fixed.
lgtm But let's get feedback from @markdryan on his chosen approach... |
I'm happy with the govmm patch and will merge as soon as the travis builds pass. Note you should probably revendor govmm in this PR, otherwise the PR isn't actually going to fix #1155 |
Updated my PR. |
@@ -699,7 +698,6 @@ | |||
"github.com/containernetworking/plugins/pkg/ns", | |||
"github.com/dlespiau/covertool/pkg/cover", | |||
"github.com/docker/go-units", | |||
"github.com/firecracker-microvm/firecracker-go-sdk", |
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.
uhmm I wonder why this was removed
cc @mcastelino
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.
@nitkon did this get removed automatically. Is it possible the vendoring tool is not picking up the firecracker dependency properly.
We do use the swagger generated files from the firecracker-go-sdk
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.
Ok. I think I have an explanation for this but still need to test this PR.
In fc.go we only use the generated files
"github.com/firecracker-microvm/firecracker-go-sdk/client"
models "github.com/firecracker-microvm/firecracker-go-sdk/client/models"
ops "github.com/firecracker-microvm/firecracker-go-sdk/client/operations"
The files that are getting deleted are under github.com/firecracker-microvm/firecracker-go-sdk, which I think are not used by fc.go or its dependencies. (I will verify).
Somehow the vendoring tool did not do the right thing when I vendored the code and is now doing the right set of files.
Let me retest and confirm.
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.
Sure @mcastelino
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.
@nitkon verified. So LGTM
name = "github.com/intel/govmm" | ||
packages = ["qemu"] | ||
pruneopts = "NUT" | ||
revision = "737f03de595e216116264cc74a58e5f2a1df789a" | ||
revision = "78d079db6d1f3e32e3ed7578a54baa6257b058a7" |
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.
missing short log in commit message
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.
@devimc : Done.
ppc64le qemu does not need threadID and socketID parameters when hotplugging. Fixes: kata-containers#1155 Signed-off-by: Nitesh Konkar [email protected]
Shortlog: 78d079d Merge pull request kata-containers#84 from nitkon/master 4692f6b qmp: Conditionally pass threadID and socketID when CPU device add b9c8f76 Merge pull request kata-containers#85 from markdryan/fix-travis 1f51b43 Update the versions of Go used to build GoVMM ad310f9 Fix staticcheck S1023 932fdc7 Fix staticcheck S1023 cb2ce93 Fix staticcheck S1008 f0172cd Fix staticcheck (S1002) 5f2e630 Fix staticcheck (S1025) 4beea51 Fix staticcheck (ST1005) errors Fixes: kata-containers#1155 Signed-off-by: Nitesh Konkar [email protected]
/retest |
Jenkins metrics is failing ...
ARM CI is failing due to |
Adding dnm label as we need to get input from @mcastelino about the firecracker files being deleted here. They were added on #1044 fwics. |
Metrics CI we are aware of - I'm working on why the values have 'shifted'. I'll adjust the bounds soon so we stop failing (but we still need to understand why things moved). See: kata-containers/ci#102 |
@grahamwhaley @Pennyzct : ARM CI still fails ... |
ARM CI looks like it may be failing for a different reason?
|
I've added the ARM CI breaking to the CI status page |
@nitkon can we merge this? |
@devimc: Sure. |
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.
LGTM
@grahamwhaley @nitkon Sorry for the keeping failing, there exited some bugs on unit tests under |
I'm going to merge this as the change is ppc64le-specific but we also have CI assurances it works for atleast one other arch... |
Thanks @Pennyzct - let's keep the ARM CI active for the moment and see if we can fix the errors. The ARM CI is listed as failing on the CI Status page, so folks can check its status etc. |
Hi~ @grahamwhaley thanks for updating the ARM CI status. I have already fired a PR to fix related issues. ;). |
ppc64le qemu does not need threadID and
socketID parameters when hotplugging.
Fixes: #1155
Signed-off-by: Nitesh Konkar [email protected]