mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices: iommu: Use hex formatting in log messages
This means that the the addresses are more easily readable. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
@@ -394,7 +394,7 @@ impl Request {
|
|||||||
.memory()
|
.memory()
|
||||||
.read_obj(req_addr as GuestAddress)
|
.read_obj(req_addr as GuestAddress)
|
||||||
.map_err(Error::GuestMemory)?;
|
.map_err(Error::GuestMemory)?;
|
||||||
debug!("Attach request {:?}", req);
|
debug!("Attach request 0x{:x?}", req);
|
||||||
|
|
||||||
// Copy the value to use it as a proper reference.
|
// Copy the value to use it as a proper reference.
|
||||||
let domain_id = req.domain;
|
let domain_id = req.domain;
|
||||||
@@ -449,7 +449,7 @@ impl Request {
|
|||||||
.memory()
|
.memory()
|
||||||
.read_obj(req_addr as GuestAddress)
|
.read_obj(req_addr as GuestAddress)
|
||||||
.map_err(Error::GuestMemory)?;
|
.map_err(Error::GuestMemory)?;
|
||||||
debug!("Detach request {:?}", req);
|
debug!("Detach request 0x{:x?}", req);
|
||||||
|
|
||||||
// Copy the value to use it as a proper reference.
|
// Copy the value to use it as a proper reference.
|
||||||
let domain_id = req.domain;
|
let domain_id = req.domain;
|
||||||
@@ -468,7 +468,7 @@ impl Request {
|
|||||||
.memory()
|
.memory()
|
||||||
.read_obj(req_addr as GuestAddress)
|
.read_obj(req_addr as GuestAddress)
|
||||||
.map_err(Error::GuestMemory)?;
|
.map_err(Error::GuestMemory)?;
|
||||||
debug!("Map request {:?}", req);
|
debug!("Map request 0x{:x?}", req);
|
||||||
|
|
||||||
// Copy the value to use it as a proper reference.
|
// Copy the value to use it as a proper reference.
|
||||||
let domain_id = req.domain;
|
let domain_id = req.domain;
|
||||||
@@ -531,7 +531,7 @@ impl Request {
|
|||||||
.memory()
|
.memory()
|
||||||
.read_obj(req_addr as GuestAddress)
|
.read_obj(req_addr as GuestAddress)
|
||||||
.map_err(Error::GuestMemory)?;
|
.map_err(Error::GuestMemory)?;
|
||||||
debug!("Unmap request {:?}", req);
|
debug!("Unmap request 0x{:x?}", req);
|
||||||
|
|
||||||
// Copy the value to use it as a proper reference.
|
// Copy the value to use it as a proper reference.
|
||||||
let domain_id = req.domain;
|
let domain_id = req.domain;
|
||||||
@@ -587,7 +587,7 @@ impl Request {
|
|||||||
.memory()
|
.memory()
|
||||||
.read_obj(req_addr as GuestAddress)
|
.read_obj(req_addr as GuestAddress)
|
||||||
.map_err(Error::GuestMemory)?;
|
.map_err(Error::GuestMemory)?;
|
||||||
debug!("Probe request {:?}", req);
|
debug!("Probe request 0x{:x?}", req);
|
||||||
|
|
||||||
let probe_prop = VirtioIommuProbeProperty {
|
let probe_prop = VirtioIommuProbeProperty {
|
||||||
type_: VIRTIO_IOMMU_PROBE_T_RESV_MEM,
|
type_: VIRTIO_IOMMU_PROBE_T_RESV_MEM,
|
||||||
|
|||||||
Reference in New Issue
Block a user