blob: 9438de910af12665de3da82c3a2389230f9428c4 [file] [log] [blame]
Andreea Costinas6d8b6b72019-04-11 12:44:42 +02001// Copyright 2019 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SYSTEM_API_CONSTANTS_VM_TOOLS_H_
6#define SYSTEM_API_CONSTANTS_VM_TOOLS_H_
7
8namespace vm_tools {
9
Fergus Dalldeeb58f2020-01-28 19:42:33 +110010constexpr int kMaitredPort = 8888;
11constexpr int kGarconPort = 8889;
12constexpr int kTremplinPort = 8890;
13constexpr int kVshPort = 9001;
Ryo Hashimoto18292dd2020-08-19 20:12:03 +090014constexpr int kArcHostClockServicePort = 9901;
Fergus Dalldeeb58f2020-01-28 19:42:33 +110015
16constexpr int kDefaultStartupListenerPort = 7777;
17constexpr int kTremplinListenerPort = 7778;
18constexpr int kCrashListenerPort = 7779;
19
20// All ports above this value are reserved for seneschal servers.
21constexpr uint32_t kFirstSeneschalServerPort = 16384;
22
Andreea Costinas6d8b6b72019-04-11 12:44:42 +020023// Name of the user that runs unstrusted operating systems on Chrome OS.
24constexpr char kCrosVmUser[] = "crosvm";
25
26} // namespace vm_tools
27
28#endif // SYSTEM_API_CONSTANTS_VM_TOOLS_H_