-
Notifications
You must be signed in to change notification settings - Fork 94
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
libvirt: support s390x architecture for domain XML #1248
Comments
CarstenLeue
added a commit
to CarstenLeue/cloud-api-adaptor
that referenced
this issue
Jul 27, 2023
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
CarstenLeue
added a commit
to CarstenLeue/cloud-api-adaptor
that referenced
this issue
Jul 27, 2023
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com> Adding a constant for the s390x architecture for reuse.
CarstenLeue
added a commit
to CarstenLeue/cloud-api-adaptor
that referenced
this issue
Jul 27, 2023
Fixes confidential-containers#1248 This PR creates a domainXML based on the architecture of the target host. First it finds the architecture via the GetNodeInfo method. Then if the architecture (aka Model) is s390x we'd create the domain XML with the s390x specifics, else it returns the x86_64 version as before. Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
CarstenLeue
added a commit
to CarstenLeue/cloud-api-adaptor
that referenced
this issue
Jul 27, 2023
Fixes confidential-containers#1248 This PR creates a domainXML based on the architecture of the target host. First it finds the architecture via the GetNodeInfo method. Then if the architecture (aka Model) is s390x we'd create the domain XML with the s390x specifics, else it returns the x86_64 version as before. Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
CarstenLeue
added a commit
to CarstenLeue/cloud-api-adaptor
that referenced
this issue
Aug 10, 2023
Fixes confidential-containers#1248 This PR creates a domainXML based on the architecture of the target host. First it finds the architecture via the GetNodeInfo method. Then if the architecture (aka Model) is s390x we'd create the domain XML with the s390x specifics, else it returns the x86_64 version as before. Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
wainersm
pushed a commit
that referenced
this issue
Aug 11, 2023
Fixes #1248 This PR creates a domainXML based on the architecture of the target host. First it finds the architecture via the GetNodeInfo method. Then if the architecture (aka Model) is s390x we'd create the domain XML with the s390x specifics, else it returns the x86_64 version as before. Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
wainersm
pushed a commit
to wainersm/cc-cloud-api-adaptor
that referenced
this issue
Sep 5, 2023
Fixes confidential-containers#1248 This PR creates a domainXML based on the architecture of the target host. First it finds the architecture via the GetNodeInfo method. Then if the architecture (aka Model) is s390x we'd create the domain XML with the s390x specifics, else it returns the x86_64 version as before. Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
bpradipt
pushed a commit
to bpradipt/cloud-api-adaptor
that referenced
this issue
Sep 25, 2023
Fixes confidential-containers#1248 This PR creates a domainXML based on the architecture of the target host. First it finds the architecture via the GetNodeInfo method. Then if the architecture (aka Model) is s390x we'd create the domain XML with the s390x specifics, else it returns the x86_64 version as before. Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
bpradipt
pushed a commit
to bpradipt/cloud-api-adaptor
that referenced
this issue
Sep 25, 2023
Fixes confidential-containers#1248 This PR creates a domainXML based on the architecture of the target host. First it finds the architecture via the GetNodeInfo method. Then if the architecture (aka Model) is s390x we'd create the domain XML with the s390x specifics, else it returns the x86_64 version as before. Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com> (cherry picked from commit 63a002c)
lysliu
pushed a commit
to lysliu/cloud-api-adaptor
that referenced
this issue
Nov 9, 2023
Fixes confidential-containers#1248 This PR creates a domainXML based on the architecture of the target host. First it finds the architecture via the GetNodeInfo method. Then if the architecture (aka Model) is s390x we'd create the domain XML with the s390x specifics, else it returns the x86_64 version as before. Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The domain XML created by the libvirt provider here: https://github.com/confidential-containers/cloud-api-adaptor/blob/main/pkg/adaptor/cloud/libvirt/libvirt.go#L162 has dependencies on the
x86_64
architecture:x86_64
sata
andide
on the driversI suggest to make the following changes:
s390x
create the libvirt XML with the required settings, in particular (probably not complete)virtio
instead ofide
andsata
IOMMU: "on",
flag to the devices, this is important to support Secure Execution on s390x going forwardThe text was updated successfully, but these errors were encountered: