Kernel Newbies archive on lore.kernel.org
 help / Atom feed
* Kernel development virtualization options
@ 2018-11-16 10:41 laurence.rochfort
  2018-11-16 10:41 ` Laurence Rochfort
  2018-11-16 17:02 ` mulyadi.santosa
  0 siblings, 2 replies; 4+ messages in thread
From: laurence.rochfort @ 2018-11-16 10:41 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

Thus far, I've been testing my kernel patches in a KVM vm with a full
distro installation, but it's pretty slow and cumbersome.

Valerie Aurora has a blog post on using User-mode Linux, and others
mention QEMU with an overlay filesystem and BusyBox.

What do people recommend for quick iterative development, with good
GDB integration?

Cheers,
Laurence.

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

* Kernel development virtualization options
  2018-11-16 10:41 Kernel development virtualization options laurence.rochfort
@ 2018-11-16 10:41 ` Laurence Rochfort
  2018-11-16 17:02 ` mulyadi.santosa
  1 sibling, 0 replies; 4+ messages in thread
From: Laurence Rochfort @ 2018-11-16 10:41 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

Thus far, I've been testing my kernel patches in a KVM vm with a full
distro installation, but it's pretty slow and cumbersome.

Valerie Aurora has a blog post on using User-mode Linux, and others
mention QEMU with an overlay filesystem and BusyBox.

What do people recommend for quick iterative development, with good
GDB integration?

Cheers,
Laurence.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

* Kernel development virtualization options
  2018-11-16 10:41 Kernel development virtualization options laurence.rochfort
  2018-11-16 10:41 ` Laurence Rochfort
@ 2018-11-16 17:02 ` mulyadi.santosa
  2018-11-16 17:02   ` Mulyadi Santosa
  1 sibling, 1 reply; 4+ messages in thread
From: mulyadi.santosa @ 2018-11-16 17:02 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Nov 16, 2018 at 5:39 PM Laurence Rochfort <
laurence.rochfort@gmail.com> wrote:

> Hi all,
>
> Thus far, I've been testing my kernel patches in a KVM vm with a full
> distro installation, but it's pretty slow and cumbersome.
>
> Hi

Hmmm, weird, assuming your CPU had VT-x/AMD-V enabled, KVM should utilize
it and ran pretty fast. Could you check whether KVM use VT-x/AMD-V first?



> Valerie Aurora has a blog post on using User-mode Linux, and others
> mention QEMU with an overlay filesystem and BusyBox.
>
> What do people recommend for quick iterative development, with good
> GDB integration?
>
> Cheers,
> Laurence.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20181117/c126c4c7/attachment.html>

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

* Re: Kernel development virtualization options
  2018-11-16 17:02 ` mulyadi.santosa
@ 2018-11-16 17:02   ` Mulyadi Santosa
  0 siblings, 0 replies; 4+ messages in thread
From: Mulyadi Santosa @ 2018-11-16 17:02 UTC (permalink / raw)
  To: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 954 bytes --]

On Fri, Nov 16, 2018 at 5:39 PM Laurence Rochfort <
laurence.rochfort@gmail.com> wrote:

> Hi all,
>
> Thus far, I've been testing my kernel patches in a KVM vm with a full
> distro installation, but it's pretty slow and cumbersome.
>
> Hi

Hmmm, weird, assuming your CPU had VT-x/AMD-V enabled, KVM should utilize
it and ran pretty fast. Could you check whether KVM use VT-x/AMD-V first?



> Valerie Aurora has a blog post on using User-mode Linux, and others
> mention QEMU with an overlay filesystem and BusyBox.
>
> What do people recommend for quick iterative development, with good
> GDB integration?
>
> Cheers,
> Laurence.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

[-- Attachment #1.2: Type: text/html, Size: 1866 bytes --]

<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 16, 2018 at 5:39 PM Laurence Rochfort &lt;<a href="mailto:laurence.rochfort@gmail.com">laurence.rochfort@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Thus far, I&#39;ve been testing my kernel patches in a KVM vm with a full<br>
distro installation, but it&#39;s pretty slow and cumbersome.<br>
<br></blockquote><div>Hi</div><div><br></div><div>Hmmm, weird, assuming your CPU had VT-x/AMD-V enabled, KVM should utilize it and ran pretty fast. Could you check whether KVM use VT-x/AMD-V first?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Valerie Aurora has a blog post on using User-mode Linux, and others<br>
mention QEMU with an overlay filesystem and BusyBox.<br>
<br>
What do people recommend for quick iterative development, with good<br>
GDB integration?<br>
<br>
Cheers,<br>
Laurence.<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">regards,<br><br>Mulyadi Santosa<br>Freelance Linux trainer and consultant<br><br>blog: <a href="http://the-hydra.blogspot.com" target="_blank">the-hydra.blogspot.com</a><br>training: <a href="http://mulyaditraining.blogspot.com" target="_blank">mulyaditraining.blogspot.com</a></div></div>

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-16 10:41 Kernel development virtualization options laurence.rochfort
2018-11-16 10:41 ` Laurence Rochfort
2018-11-16 17:02 ` mulyadi.santosa
2018-11-16 17:02   ` Mulyadi Santosa

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox