From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Chris Murphy <lists@colorremedies.com>
Cc: qemu-devel@nongnu.org
Subject: Re: driver type raw-xz supports discard=unmap?
Date: Mon, 25 Jul 2022 14:53:15 +0100 [thread overview]
Message-ID: <Yt6gSz5iQBcXfVO/@redhat.com> (raw)
In-Reply-To: <79ec108b-60bf-4c18-8917-9d7c8fd74b89@www.fastmail.com>
On Mon, Jul 25, 2022 at 08:51:42AM -0400, Chris Murphy wrote:
>
>
> On Mon, Jul 25, 2022, at 5:13 AM, Daniel P. Berrangé wrote:
> > On Fri, Jul 22, 2022 at 04:03:52PM -0400, Chris Murphy wrote:
> >> Is this valid?
> >>
> >> `<disk device="disk" type="file">
> >> <target dev="vda" bus="virtio"/>
> >> <source file="Fedora-Workstation-Rawhide-20220721.n.0.aarch64.raw-xz"/>
> >> <driver name="qemu" type="raw-xz" discard="unmap"/>`
> >> `/>
> >> </disk>`
> >>
> >> I know type="raw" works fine, I'm wondering if there'd be any problem
> >> with type "raw-xz" combined with discards?
> >
> > This is libvirt configuration, so libvirt-users@redhat.com is the better
> > list in general. That said, what is this 'raw-xz' type you refer to ?
> >
> > AFAIK, that is not a disk driver type that exists in either libvirt or
> > QEMU releases.
>
> Huh, interesting. I have no idea then. I just happened to notice it in the (libvirt) XML config that's used by oz.
> https://kojipkgs.fedoraproject.org//packages/Fedora-Workstation/Rawhide/20220721.n.0/images/libvirt-raw-xz-aarch64.xml
I don't see 'raw-xz' mentioned anywhere in the Oz code at
https://github.com/clalancette/oz
was it a fork that's being used ?
> I've got no idea what happens if an invalid type is specified in
> the config. The VM's are definitely running despite this. I'll ask
> oz devs.
This is pretty surprising if they're actually running as it should
cause a fatal error message
error: unsupported configuration: unknown driver format value 'raw-xz'
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2022-07-25 13:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-22 20:03 driver type raw-xz supports discard=unmap? Chris Murphy
2022-07-25 9:13 ` Daniel P. Berrangé
2022-07-25 12:51 ` Chris Murphy
2022-07-25 13:53 ` Daniel P. Berrangé [this message]
2022-07-25 15:37 ` Chris Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yt6gSz5iQBcXfVO/@redhat.com \
--to=berrange@redhat.com \
--cc=lists@colorremedies.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.