qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Michael Tokarev <mjt@tls.msk.ru>,
	Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org
Subject: Re: [qemu-web PATCH] Fix installation instructions for Debian/Ubuntu
Date: Thu, 29 Jun 2023 11:31:42 +0200	[thread overview]
Message-ID: <1f0afdee-09f0-83a5-f8fb-d2b86827ba16@redhat.com> (raw)
In-Reply-To: <305b3e1f-aa55-8efe-8394-7c1b90ffe3f3@tls.msk.ru>

On 29/06/2023 10.12, Michael Tokarev wrote:
> 29.06.2023 11:02, Thomas Huth wrote:
>> There is no package called "qemu" here - thus use the two meta-packages
>> "qemu-system" and "qemu-user" instead.
> 
> There are 2 questions here.
> 
> 1. Do we really want to suggest users to install the whole thing?
> qemu-user and qemu-system are two entirely different beasts, used
> for entirely different purposes.  This is exactly the reason why
> I dropped `qemu' package from debian/ubuntu, - because effectively
> there are two independent, entirely different packages.
> 
> Also 1.a, - again, whole qemu-system usually isn't needed. There are
> another 2 big different classes here, - native thing (probably with
> kvm), and foreign thing.
> 
>> Resolves: https://gitlab.com/qemu-project/qemu-web/-/issues/8
> ..> -* <strong>Debian/Ubuntu:</strong> `apt-get install qemu`
>> +* <strong>Debian/Ubuntu:</strong> `apt-get install qemu-system qemu-user`
> 
> 2.  There are 2 qemu-user packages on debian/ubuntu: it is qemu-user
> and qemu-user-static. My guess is that most users actually need the latter,
> at least this one lets to run foreign chroots without copying anything from
> host system to a chroot.  In rare cases when one wants to install and run
> foreign binaries directly into the host system, qemu-user is okay. But it
> is a really rare case, and usually combined with running foreign chroots
> anyway.
> 
> So I'd say this whole thing needs a bit more explanation, like,
> 
>   when you want to run qemu-system emulation, install qemu-system 
> (meta)package.
>   when you want user-mode emulation, install qemu-user-static package.

Ok, thanks, makes sense, I sent a v2 where I've split it.

> This is actually a question to QEMU upstream, - I think the same reasoning
> applies there as well.

Looking at our docs, it seems like we're lacking an introduction to the the 
"configure" switches like --enable-system and --enable-user completely, 
indeed :-(

  Thomas



  parent reply	other threads:[~2023-06-29  9:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-29  8:02 [qemu-web PATCH] Fix installation instructions for Debian/Ubuntu Thomas Huth
2023-06-29  8:12 ` Michael Tokarev
2023-06-29  8:57   ` Philippe Mathieu-Daudé
2023-06-29  9:31   ` Thomas Huth [this message]
2023-06-29 10:12     ` Michael Tokarev

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=1f0afdee-09f0-83a5-f8fb-d2b86827ba16@redhat.com \
    --to=thuth@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).