Bug 593266
| Summary: | There is no XML tag for specifying hard disk serial number | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Коренберг Марк <mark> |
| Component: | libvirt | Assignee: | Daniel Veillard <veillard> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | berrange, crobinso, xen-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-05-18 13:29:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Коренберг Марк
2010-05-18 11:53:15 UTC
The seiral number is supported by the '<serial>VALUE</serial>' tag within the <disk>. For example:
<disk type='block' device='disk'>
<driver name='qemu' type='qcow2'/>
<source dev='/dev/HostVG/QEMUGuest1'/>
<target dev='hda' bus='ide'/>
<shareable/>
<serial>XYZXYZXYZYXXYZYZYXYZY</serial>
<address type='drive' controller='0' bus='0' unit='0'/>
</disk>
CPU name/serial is governed by the choice of -cpu arg given to QEMU, whcih is exposed via the <cpu> element in libvirt XML
http://berrange.com/posts/2010/02/15/guest-cpu-model-configuration-in-libvirt-with-qemukvm/
The other fields mentioned are fixed in the QEMU BIOS.
Huge thanks! Please update documentation so far http://www.libvirt.org/formatstorage.html If that resource is not source of documentation, where to look ? http://www.libvirt.org/formatdomain.html No information here too I have Ubuntu 9.10. after virsh edit and adding serial number, it disappear!! starting from which version, <serial> tag is supported ? From libvirt-0.7.1 |