mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
dm: virtio: refine header file
Reuse linux common virtio header file and remove the repetitive definition. Tracked-On: #2145 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
@@ -234,7 +234,7 @@ virtio_ipu_set_status(void *base, uint64_t status)
|
||||
ipu = (struct virtio_ipu *) base;
|
||||
nvq = ipu->base.vops->nvq;
|
||||
if (ipu->vbs_k.ipu_kstatus == VIRTIO_DEV_INIT_SUCCESS &&
|
||||
(status & VIRTIO_CR_STATUS_DRIVER_OK)) {
|
||||
(status & VIRTIO_CONFIG_S_DRIVER_OK)) {
|
||||
/* time to kickoff VBS-K side */
|
||||
/* init vdev first */
|
||||
rc = virtio_ipu_k_dev_set(
|
||||
|
||||
Reference in New Issue
Block a user