--- nono/vm/ethernet.h 2026/04/29 17:04:41 1.1.1.4 +++ nono/vm/ethernet.h 2026/04/29 17:04:44 1.1.1.5 @@ -72,11 +72,14 @@ class EthernetDevice : public IODevice protected: EthernetDevice(); public: - ~EthernetDevice() override; + virtual ~EthernetDevice() override; bool Create() override; bool Init() override; + // ワーカスレッド + virtual void ThreadRun() = 0; + // パケットを受信した。 // ホストネットワークドライバから呼ばれる。 // ホストネットワークスレッドで mtx 取得状態で呼ばれるので、