qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

API to change the vendor of IDE disk


From: Alex
Subject: API to change the vendor of IDE disk
Date: Fri, 1 Jul 2022 16:18:13 +0800

Dear Qemu Genius


This is zaifeng (wzf_developer@foxmail.com) (WeChat ID: QemuKVM).

Yes, I am a cloud engineer. (๑•̀ㅂ•́)و✧


May I ask you some questions about Qemu?


----------------


Here is the problem:


If you use IDE disk on a Windows VM, "QEMU HARDDISK" could be found from device manager.


Some applications will refuse to boot on virtualized environment by detecting if the disk name contains "QEMU" string. I have no idea why, maybe they worried about copy-vm = copy-license?


I know for virtio-scsi disks, it's possible to change it by adding </vendor> </product> </serial> in libvirt-xml. However it does not work for IDE disk.



Simply detach or convenrt that IDE disk to virtio-scsi solves the problem.

However, we hope that our customer could use IDE disk without any configuration.


----------------


So.....

Here is my questions:


Q1: How to change the vendor-name of a IDE disk?

Is there any API(s) to config it?

I can't find the way from libvirt-doc.

​In Qemu code, I seems that "QEMU HARDDISK" is just by default, and it's configurable.



Q2: Why add </vendor> </product> </serial> in libvirt-xml doesn't work for IDE disk?

Why only virtio-scsi disk support this kind of config?

Is there any hint? story? background? reason?


----------------


I hope any Qemu Genius could answer my question!

Qemu project push the human-race forward, and I want to be that part of progress!


Kind Regards,

zaifeng. ヽ(✿゚▽゚)ノ


reply via email to

[Prev in Thread] Current Thread [Next in Thread]