blob: 231b0b7c02947ac2cd973c765a2e2d2c1a1a05fd [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include "src/virtualization/lib/guest_interaction/client/guest_discovery_service.h"
int main(int argc, char** argv) {
async::Loop loop(&kAsyncLoopConfigNoAttachToCurrentThread);
// Create the guest interaction service and run its gRPC processing loop on
// a separate thread.
GuestDiscoveryServiceImpl guest_discovery_service = GuestDiscoveryServiceImpl(loop.dispatcher());
return loop.Run();
}