From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A5BDC433E1 for ; Tue, 14 Jul 2020 16:34:58 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D714E22464 for ; Tue, 14 Jul 2020 16:34:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=vayavyalabs.com header.i=@vayavyalabs.com header.b="REYNLuEa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D714E22464 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=vayavyalabs.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:38774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvNtR-0005Ic-4m for qemu-devel@archiver.kernel.org; Tue, 14 Jul 2020 12:34:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvNUZ-0001GA-Sm for qemu-devel@nongnu.org; Tue, 14 Jul 2020 12:09:15 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:43122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvNUY-0000go-AN for qemu-devel@nongnu.org; Tue, 14 Jul 2020 12:09:15 -0400 Received: by mail-wr1-x435.google.com with SMTP id j4so22790073wrp.10 for ; Tue, 14 Jul 2020 09:09:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vayavyalabs.com; s=vayavyalabs; h=mime-version:from:date:message-id:subject:to; bh=mcO1S7w/FCmFH8do+7KTBT1q0YR2g10b+3ffL2m8G3s=; b=REYNLuEaisldZqVg5tDV/4/CUWuO5DRaKarkqTTfmkRXUkHD4D+le2VaUOsqV72KTT sf/engmmMo6zaRy5/8KSxGWoZXfQUu2Ru41ontwCO3c0Hq5yhs246H2KlgiPyL848Tp8 6v1xc47fkBiebLTinyXtm6POY0WbUAyNsoS80= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mcO1S7w/FCmFH8do+7KTBT1q0YR2g10b+3ffL2m8G3s=; b=IeY0juw+YkrEJZwy5fExT7Vb0ygnW+M3R8qReDYvJxMhgP/CKmfKs61Nj7hjQSgK9A nyd3oNkkZbEgZQJloEVkhsTv4vLvlP3FirryKOuNdZY2+iDHyQ0TqMXoAMqU/2WCaRbV HhZ2+3i13PQ9a69YluJnQtFHyhJyP4yf3cvZyM0i/PrduF9WDMIo7TxUzRFPZ8wJnmiC 1qj52IjiyTnyzk925qSOuMIEPyM66r0LXCAEn7mv+MPy6bVvydWRra6Ex1riCtOYv4gA IS9TmG3Aa0rZDmlN9lS9bVDMc8bQLc8vGaKwBpwXGuDHXz0GSMlNbq70Nx9bYVMTleW8 4czQ== X-Gm-Message-State: AOAM532/KpoUmO92tJG12NwCRFEKvoG4gpClubuY2Hlm6Ar5QpTR47wj noGALTeVkn82xHJAaPA3kgV0+l/xTsrtjNj8o5fiGIYD6f8= X-Google-Smtp-Source: ABdhPJwFODYDjGseStALAn8xSglRbIiwjnoiEY0JJGwLAjMf+F6IFtqNA6gCrw8z1TpCE9DdRTiNmnDBLm5+GHVH09o= X-Received: by 2002:a5d:51ce:: with SMTP id n14mr6730528wrv.155.1594742951118; Tue, 14 Jul 2020 09:09:11 -0700 (PDT) MIME-Version: 1.0 From: Pratik Parvati Date: Tue, 14 Jul 2020 21:39:00 +0530 Message-ID: Subject: sysbus_create_simple Vs qdev_create To: qemu-devel@nongnu.org Content-Type: multipart/alternative; boundary="0000000000001c235105aa69074d" Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=pratikp@vayavyalabs.com; helo=mail-wr1-x435.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 14 Jul 2020 12:34:12 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --0000000000001c235105aa69074d Content-Type: text/plain; charset="UTF-8" Hi Support team, Can someone please guide me to understand the difference between *sysbus_create_simple *and *qdev_create*?. I understand that these two methods are used to create a new device. But, when to use these functions is not clear to me. Regards, Pratik --0000000000001c235105aa69074d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Support team,

Can someone please gui= de me to understand the difference between sysbus_create_simple and = qdev_create?.

I understand that these two m= ethods are used to create=C2=A0a new device. But, when to use these functio= ns is not clear to me.

Re= gards,
Pratik
--0000000000001c235105aa69074d--