Bug 1262531 - qemu: domxml-from-native: does not parse ahci, breaks q35 conversion
Summary: qemu: domxml-from-native: does not parse ahci, breaks q35 conversion
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-12 09:18 UTC by stallone201301
Modified: 2019-06-28 15:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-28 15:55:34 UTC
Embargoed:


Attachments (Terms of Use)
qemu args file (376 bytes, text/plain)
2015-09-12 09:18 UTC, stallone201301
no flags Details

Description stallone201301 2015-09-12 09:18:47 UTC
Created attachment 1072711 [details]
qemu args file

Description of problem:
When i use virsh virsh domxml-from-native to convert my qemu args to xml domain desctiption, there are is no error , but after i revert generated xml file to qemu args to xml , there is a error about ide controller like those "error: unsupported configuration: IDE controllers are unsupported for this QEMU binary or machine type ". Even though those qemu args could run correctly on my shell.

Version-Release number of selected component (if applicable):
/usr/libexec/qemu-system-x86_64 --version
QEMU emulator version 2.4.0, Copyright (c) 2003-2008 Fabrice Bellard
libvirtd --version
libvirtd (libvirt) 1.2.19

How reproducible:
Using virsh convert base.args (see attachment) to domain xml file, and then 
revert domain xml file to qemu args.
Steps to Reproduce:
1.virsh domxml-from-native qemu-argv base.args > base.xml
2.virsh domxml-to-native qemu-argv base.xml


Actual results:
error: unsupported configuration: IDE controllers are unsupported for this QEMU binary or machine type

Expected results:
no error

Additional info:
no

Comment 1 Cole Robinson 2019-06-28 15:55:34 UTC
Upstream we have entirely dropped 'virsh domxml-from-native' qemu-argv support.

commit 5cc402a9b4c4e5422775b2b60f8272c16c0ed62f
Author: Peter Krempa <pkrempa>
Date:   Fri Jun 14 14:56:35 2019 +0200

    qemu: driver: Remove support for native->XML conversion

A bit more discussion/details here: https://www.redhat.com/archives/libvir-list/2019-April/msg00605.html

So this bug is no longer valid as of the next release libvirt 5.0.0

Comment 2 Cole Robinson 2019-06-28 15:56:50 UTC
That should say: this bug is no longer valid as of the next release libvirt 5.5.0


Note You need to log in before you can comment on or make changes to this bug.