From mboxrd@z Thu Jan 1 00:00:00 1970 From: mulyadi.santosa@gmail.com (Mulyadi Santosa) Date: Sat, 17 Nov 2018 00:02:03 +0700 Subject: Kernel development virtualization options In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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: From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gNhXA-0001Ay-6H for kernelnewbies@kernelnewbies.org; Fri, 16 Nov 2018 12:03:56 -0500 Received: by mail-lf1-x12e.google.com with SMTP id p6so17026814lfc.1 for ; Fri, 16 Nov 2018 09:03:55 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mulyadi Santosa Date: Sat, 17 Nov 2018 00:02:03 +0700 Message-ID: Subject: Re: Kernel development virtualization options To: kernelnewbies List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6721477251098164283==" Errors-To: kernelnewbies-bounces+konstantin=linuxfoundation.org@kernelnewbies.org Message-ID: <20181116170203.XZR_UZwXiKmk1hS9E7t3HZ70XnOUklQkS6wMh6PVkKA@z> --===============6721477251098164283== Content-Type: multipart/alternative; boundary="0000000000004d4c21057acb23ec" --0000000000004d4c21057acb23ec Content-Type: text/plain; charset="UTF-8" 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 --0000000000004d4c21057acb23ec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


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 you= r CPU had VT-x/AMD-V enabled, KVM should utilize it and ran pretty fast. Co= uld you check whether KVM use VT-x/AMD-V first?

= =C2=A0
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
Kernel= newbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailma= n/listinfo/kernelnewbies


--
regards,

Mulyadi = Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com<= br>training: mulyaditraining.blogspot.com
--0000000000004d4c21057acb23ec-- --===============6721477251098164283== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============6721477251098164283==--