Does Virtual Box offer similar feature of QEMU's -s and -S?

Discussions related to using VirtualBox on Linux hosts.
Locked
KGG
Posts: 6
Joined: 21. Nov 2018, 08:06

Does Virtual Box offer similar feature of QEMU's -s and -S?

Post by KGG »

Hello guy,

On Linux host, I would like to debug Linux kernel (on a VM) with virtual box. I want to use gdb tcp port (not serial port). So does Virtual Box offer similar feature of QEMU's -s and -S?

-s: open tcp port for gdb server, for debugger
-S: when starting VM kernel, suspend VM till a remote debugger has been attached.

If yes, great, how to do that?

If no, sorry, I've stick to QEMU.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Does Virtual Box offer similar feature of QEMU's -s and -S?

Post by mpack »

Why would we know what QEMU does?

Anyway, see the user manual section 12.1.3. This describes what VirtualBox does, which sounds similar.
KGG
Posts: 6
Joined: 21. Nov 2018, 08:06

Re: Does Virtual Box offer similar feature of QEMU's -s and -S?

Post by KGG »

I guess you care your customers, who are influenced by your competitors.

I took a quick look. They are not the same thing. But thanks for your reply, anyway.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Does Virtual Box offer similar feature of QEMU's -s and -S?

Post by mpack »

Um... a free download doesn't make you Oracle's customer. Oracle charges big money for support. Those are their customers, which they certainly do care about.

Also, this is a user self help forum. Almost everyone you will encounter here (including myself) will be other users, not Oracle employees. For them I imagine we are merely a test resource.
KGG
Posts: 6
Joined: 21. Nov 2018, 08:06

Re: Does Virtual Box offer similar feature of QEMU's -s and -S?

Post by KGG »

Make sense, to some extend, though.

"uninstall it" and "do not touch it again" seems best option to me.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Does Virtual Box offer similar feature of QEMU's -s and -S?

Post by mpack »

Sounds good to me too. Perhaps you missed the part about these being user forums: if you are not a user then we don't need you.
Locked