All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1906156] [NEW] Host OS Reboot Required, for Guest kext to Load (Fully)
@ 2020-11-29 12:23 Russell Morris
  2020-11-30  8:08 ` [Bug 1906156] " Thomas Huth
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Russell Morris @ 2020-11-29 12:23 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Hi,

Finding this one a bit odd, but I am loading a driver (kext) in a macOS
guest ... and it works, on the first VM (domain) startup after a full /
clean host OS boot (or reboot). However, if I even reboot the guest OS,
then the driver load fails => can be "corrected" by a full host OS
reboot (which seems very extreme).

Is this a known issue, and/or is there a workaround?

FYI, running,
QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

This is for a macOS guest, on a Linux host.

Thanks!

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1906156

Title:
  Host OS Reboot Required, for Guest kext to Load (Fully)

Status in QEMU:
  New

Bug description:
  Hi,

  Finding this one a bit odd, but I am loading a driver (kext) in a
  macOS guest ... and it works, on the first VM (domain) startup after a
  full / clean host OS boot (or reboot). However, if I even reboot the
  guest OS, then the driver load fails => can be "corrected" by a full
  host OS reboot (which seems very extreme).

  Is this a known issue, and/or is there a workaround?

  FYI, running,
  QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1)
  Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

  This is for a macOS guest, on a Linux host.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1906156/+subscriptions


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1906156] Re: Host OS Reboot Required, for Guest kext to Load (Fully)
  2020-11-29 12:23 [Bug 1906156] [NEW] Host OS Reboot Required, for Guest kext to Load (Fully) Russell Morris
@ 2020-11-30  8:08 ` Thomas Huth
  2020-12-01  1:38 ` Russell Morris
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Thomas Huth @ 2020-11-30  8:08 UTC (permalink / raw)
  To: qemu-devel

Hi! Seems like you're using the QEMU from your distro, so should this be
a bug report against Ubuntu's QEMU instead? Otherwise, can you please
try again with the latest upstream version of QEMU (currently an RC of
v5.2)? You certainly also need to provide more information, e.g. what
kind of error message do you see, how often did you try (maybe it's just
an intermittent problem and it sometimes also works without rebooting
the host), etc.

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1906156

Title:
  Host OS Reboot Required, for Guest kext to Load (Fully)

Status in QEMU:
  Incomplete

Bug description:
  Hi,

  Finding this one a bit odd, but I am loading a driver (kext) in a
  macOS guest ... and it works, on the first VM (domain) startup after a
  full / clean host OS boot (or reboot). However, if I even reboot the
  guest OS, then the driver load fails => can be "corrected" by a full
  host OS reboot (which seems very extreme).

  Is this a known issue, and/or is there a workaround?

  FYI, running,
  QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1)
  Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

  This is for a macOS guest, on a Linux host.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1906156/+subscriptions


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1906156] Re: Host OS Reboot Required, for Guest kext to Load (Fully)
  2020-11-29 12:23 [Bug 1906156] [NEW] Host OS Reboot Required, for Guest kext to Load (Fully) Russell Morris
  2020-11-30  8:08 ` [Bug 1906156] " Thomas Huth
@ 2020-12-01  1:38 ` Russell Morris
  2020-12-01  9:16 ` Thomas Huth
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Russell Morris @ 2020-12-01  1:38 UTC (permalink / raw)
  To: qemu-devel

Sure, will do (upstream version). Is there a preferred way to do it?
Meaning ... build locally, or install from some repository?

Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1906156

Title:
  Host OS Reboot Required, for Guest kext to Load (Fully)

Status in QEMU:
  Incomplete

Bug description:
  Hi,

  Finding this one a bit odd, but I am loading a driver (kext) in a
  macOS guest ... and it works, on the first VM (domain) startup after a
  full / clean host OS boot (or reboot). However, if I even reboot the
  guest OS, then the driver load fails => can be "corrected" by a full
  host OS reboot (which seems very extreme).

  Is this a known issue, and/or is there a workaround?

  FYI, running,
  QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1)
  Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

  This is for a macOS guest, on a Linux host.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1906156/+subscriptions


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1906156] Re: Host OS Reboot Required, for Guest kext to Load (Fully)
  2020-11-29 12:23 [Bug 1906156] [NEW] Host OS Reboot Required, for Guest kext to Load (Fully) Russell Morris
  2020-11-30  8:08 ` [Bug 1906156] " Thomas Huth
  2020-12-01  1:38 ` Russell Morris
@ 2020-12-01  9:16 ` Thomas Huth
  2020-12-01 15:47 ` Russell Morris
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Thomas Huth @ 2020-12-01  9:16 UTC (permalink / raw)
  To: qemu-devel

The QEMU project only provides the source tarballs, so builing locally
is certainly the preferred way to test.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1906156

Title:
  Host OS Reboot Required, for Guest kext to Load (Fully)

Status in QEMU:
  Incomplete

Bug description:
  Hi,

  Finding this one a bit odd, but I am loading a driver (kext) in a
  macOS guest ... and it works, on the first VM (domain) startup after a
  full / clean host OS boot (or reboot). However, if I even reboot the
  guest OS, then the driver load fails => can be "corrected" by a full
  host OS reboot (which seems very extreme).

  Is this a known issue, and/or is there a workaround?

  FYI, running,
  QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1)
  Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

  This is for a macOS guest, on a Linux host.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1906156/+subscriptions


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1906156] Re: Host OS Reboot Required, for Guest kext to Load (Fully)
  2020-11-29 12:23 [Bug 1906156] [NEW] Host OS Reboot Required, for Guest kext to Load (Fully) Russell Morris
                   ` (2 preceding siblings ...)
  2020-12-01  9:16 ` Thomas Huth
@ 2020-12-01 15:47 ` Russell Morris
  2020-12-03  2:43 ` Russell Morris
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Russell Morris @ 2020-12-01 15:47 UTC (permalink / raw)
  To: qemu-devel

That makes sense, no issue at all. So I cloned from git (v5.2.0-rc3),
built, installed. All good so far :-). But then I tried to modify the
"emulator" in virt-manager, point to this build => I get the error,

Error changing VM configuration: internal error: Failed to start QEMU
binary /usr/local/bin/qemu-system-x86_64 for probing: libvirt:  error :
cannot execute binary /usr/local/bin/qemu-system-x86_64: Permission
denied

Thoughts? I have run into this before (without finding a fix sadly) -
thinking it's apparmor related somehow?

Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1906156

Title:
  Host OS Reboot Required, for Guest kext to Load (Fully)

Status in QEMU:
  Incomplete

Bug description:
  Hi,

  Finding this one a bit odd, but I am loading a driver (kext) in a
  macOS guest ... and it works, on the first VM (domain) startup after a
  full / clean host OS boot (or reboot). However, if I even reboot the
  guest OS, then the driver load fails => can be "corrected" by a full
  host OS reboot (which seems very extreme).

  Is this a known issue, and/or is there a workaround?

  FYI, running,
  QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1)
  Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

  This is for a macOS guest, on a Linux host.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1906156/+subscriptions


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1906156] Re: Host OS Reboot Required, for Guest kext to Load (Fully)
  2020-11-29 12:23 [Bug 1906156] [NEW] Host OS Reboot Required, for Guest kext to Load (Fully) Russell Morris
                   ` (3 preceding siblings ...)
  2020-12-01 15:47 ` Russell Morris
@ 2020-12-03  2:43 ` Russell Morris
  2020-12-05  2:46 ` Russell Morris
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Russell Morris @ 2020-12-03  2:43 UTC (permalink / raw)
  To: qemu-devel

Sorry for the delay on updating this - but pulling my hair out (and I'm
short enough of that already ... LOL). I can't get Ubuntu to let me run
the custom qemu executable. Really is looking like apparmor. Fighting
with that, but struggling to have it let me run it :-(.

Thanks.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1906156

Title:
  Host OS Reboot Required, for Guest kext to Load (Fully)

Status in QEMU:
  Incomplete

Bug description:
  Hi,

  Finding this one a bit odd, but I am loading a driver (kext) in a
  macOS guest ... and it works, on the first VM (domain) startup after a
  full / clean host OS boot (or reboot). However, if I even reboot the
  guest OS, then the driver load fails => can be "corrected" by a full
  host OS reboot (which seems very extreme).

  Is this a known issue, and/or is there a workaround?

  FYI, running,
  QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1)
  Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

  This is for a macOS guest, on a Linux host.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1906156/+subscriptions


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1906156] Re: Host OS Reboot Required, for Guest kext to Load (Fully)
  2020-11-29 12:23 [Bug 1906156] [NEW] Host OS Reboot Required, for Guest kext to Load (Fully) Russell Morris
                   ` (4 preceding siblings ...)
  2020-12-03  2:43 ` Russell Morris
@ 2020-12-05  2:46 ` Russell Morris
  2020-12-05  3:41 ` Russell Morris
  2021-02-03  4:17 ` Launchpad Bug Tracker
  7 siblings, 0 replies; 9+ messages in thread
From: Russell Morris @ 2020-12-05  2:46 UTC (permalink / raw)
  To: qemu-devel

My apologies, but I'm somewhat stuck here :-(. Trying to run the latest (upstream) version of QEMU, but no luck getting it to execute. I even tried setting securit_driver = "none", as captured here,
https://gitlab.com/apparmor/apparmor/-/wikis/Libvirt

But no luck. Open to any suggestions.

Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1906156

Title:
  Host OS Reboot Required, for Guest kext to Load (Fully)

Status in QEMU:
  Incomplete

Bug description:
  Hi,

  Finding this one a bit odd, but I am loading a driver (kext) in a
  macOS guest ... and it works, on the first VM (domain) startup after a
  full / clean host OS boot (or reboot). However, if I even reboot the
  guest OS, then the driver load fails => can be "corrected" by a full
  host OS reboot (which seems very extreme).

  Is this a known issue, and/or is there a workaround?

  FYI, running,
  QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1)
  Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

  This is for a macOS guest, on a Linux host.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1906156/+subscriptions


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1906156] Re: Host OS Reboot Required, for Guest kext to Load (Fully)
  2020-11-29 12:23 [Bug 1906156] [NEW] Host OS Reboot Required, for Guest kext to Load (Fully) Russell Morris
                   ` (5 preceding siblings ...)
  2020-12-05  2:46 ` Russell Morris
@ 2020-12-05  3:41 ` Russell Morris
  2021-02-03  4:17 ` Launchpad Bug Tracker
  7 siblings, 0 replies; 9+ messages in thread
From: Russell Morris @ 2020-12-05  3:41 UTC (permalink / raw)
  To: qemu-devel

OK, found my issue! :-). Still a bit odd, but virt-manager complaints about the custom QEMU executable => but virsh still works. So I did get the VM running, with,
QEMU emulator version 5.1.93 (v5.2.0-rc3)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

But it still performed the same. I also checked the xml file (VM
definition), and made sure to change the machine to the most current
version (pc-q35-5.2), but also no improvement.

Other things to try?

Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1906156

Title:
  Host OS Reboot Required, for Guest kext to Load (Fully)

Status in QEMU:
  Incomplete

Bug description:
  Hi,

  Finding this one a bit odd, but I am loading a driver (kext) in a
  macOS guest ... and it works, on the first VM (domain) startup after a
  full / clean host OS boot (or reboot). However, if I even reboot the
  guest OS, then the driver load fails => can be "corrected" by a full
  host OS reboot (which seems very extreme).

  Is this a known issue, and/or is there a workaround?

  FYI, running,
  QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1)
  Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

  This is for a macOS guest, on a Linux host.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1906156/+subscriptions


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1906156] Re: Host OS Reboot Required, for Guest kext to Load (Fully)
  2020-11-29 12:23 [Bug 1906156] [NEW] Host OS Reboot Required, for Guest kext to Load (Fully) Russell Morris
                   ` (6 preceding siblings ...)
  2020-12-05  3:41 ` Russell Morris
@ 2021-02-03  4:17 ` Launchpad Bug Tracker
  7 siblings, 0 replies; 9+ messages in thread
From: Launchpad Bug Tracker @ 2021-02-03  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1906156

Title:
  Host OS Reboot Required, for Guest kext to Load (Fully)

Status in QEMU:
  Expired

Bug description:
  Hi,

  Finding this one a bit odd, but I am loading a driver (kext) in a
  macOS guest ... and it works, on the first VM (domain) startup after a
  full / clean host OS boot (or reboot). However, if I even reboot the
  guest OS, then the driver load fails => can be "corrected" by a full
  host OS reboot (which seems very extreme).

  Is this a known issue, and/or is there a workaround?

  FYI, running,
  QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu9.1)
  Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

  This is for a macOS guest, on a Linux host.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1906156/+subscriptions


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-02-03  4:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-29 12:23 [Bug 1906156] [NEW] Host OS Reboot Required, for Guest kext to Load (Fully) Russell Morris
2020-11-30  8:08 ` [Bug 1906156] " Thomas Huth
2020-12-01  1:38 ` Russell Morris
2020-12-01  9:16 ` Thomas Huth
2020-12-01 15:47 ` Russell Morris
2020-12-03  2:43 ` Russell Morris
2020-12-05  2:46 ` Russell Morris
2020-12-05  3:41 ` Russell Morris
2021-02-03  4:17 ` Launchpad Bug Tracker

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.